Sha256: 922e91f4580173b54757ea16583495d23d067d804d0b2540a321eb9d8ddd36b3

Contents?: true

Size: 174 Bytes

Versions: 25

Compression:

Stored size: 174 Bytes

Contents

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
trestle-0.8.5 app/helpers/trestle/icon_helper.rb
trestle-0.8.4 app/helpers/trestle/icon_helper.rb
trestle-0.8.3 app/helpers/trestle/icon_helper.rb
trestle-0.8.2 app/helpers/trestle/icon_helper.rb
trestle-0.8.0 app/helpers/trestle/icon_helper.rb