Module: Trestle::IconHelper

Defined in:
app/helpers/trestle/icon_helper.rb

Instance Method Summary collapse

Instance Method Details

#icon(*classes) ⇒ Object



3
4
5
6
# File 'app/helpers/trestle/icon_helper.rb', line 3

def icon(*classes)
  options = classes.extract_options!
  (:i, "", options.merge(class: classes))
end