Module: IconHelper
- Defined in:
- app/helpers/icon_helper.rb
Defined Under Namespace
Classes: IconCreator
Instance Method Summary collapse
Instance Method Details
#icon(type = nil, options = {}) ⇒ Object
107 108 109 110 111 |
# File 'app/helpers/icon_helper.rb', line 107 def icon(type=nil, ={}) raise 'Please provide an icon type!' if type.blank? IconCreator.new(type, ).render end |