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.10.0 app/helpers/trestle/icon_helper.rb
trestle-0.10.0.pre2 app/helpers/trestle/icon_helper.rb
trestle-0.10.0.pre app/helpers/trestle/icon_helper.rb
trestle-0.9.8 app/helpers/trestle/icon_helper.rb
trestle-0.9.7 app/helpers/trestle/icon_helper.rb
trestle-0.9.6 app/helpers/trestle/icon_helper.rb
trestle-0.9.5 app/helpers/trestle/icon_helper.rb
trestle-0.9.4 app/helpers/trestle/icon_helper.rb
trestle-0.9.3 app/helpers/trestle/icon_helper.rb
trestle-0.9.2 app/helpers/trestle/icon_helper.rb
trestle-0.9.1 app/helpers/trestle/icon_helper.rb
trestle-0.9.0 app/helpers/trestle/icon_helper.rb
trestle-0.8.13 app/helpers/trestle/icon_helper.rb
trestle-0.8.12 app/helpers/trestle/icon_helper.rb
trestle-0.8.11 app/helpers/trestle/icon_helper.rb
trestle-0.8.10 app/helpers/trestle/icon_helper.rb
trestle-0.8.9 app/helpers/trestle/icon_helper.rb
trestle-0.8.8 app/helpers/trestle/icon_helper.rb
trestle-0.8.7 app/helpers/trestle/icon_helper.rb
trestle-0.8.6 app/helpers/trestle/icon_helper.rb