module CrypticonsHelper
Constants
- VERSION
Public Instance Methods
crypticon(symbol, options = {})
click to toggle source
# File lib/crypticons_helper/helper.rb, line 8 def crypticon(symbol, options = {}) return "" if symbol.nil? icon = Crypticons::Crypticon.new(symbol, options) content_tag(:svg, icon.path.html_safe, icon.options) # rubocop:disable Rails/OutputSafety end