Sha256: 3a29bb5cbc5e42b96ecb39882d5cbfd2e5fa3187baaf3ddda77f0afd48bd3f88

Contents?: true

Size: 171 Bytes

Versions: 10

Compression:

Stored size: 171 Bytes

Contents

module Tenon
  module IconHelper
    def i(icon, opts = {})
      content_tag(:i, icon, class: "material-icon #{opts[:class] if opts[:class].present?}")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/helpers/tenon/icon_helper.rb
tenon-2.0.8 app/helpers/tenon/icon_helper.rb
tenon-2.0.7 app/helpers/tenon/icon_helper.rb
tenon-2.0.6 app/helpers/tenon/icon_helper.rb
tenon-2.0.5 app/helpers/tenon/icon_helper.rb
tenon-2.0.4 app/helpers/tenon/icon_helper.rb
tenon-2.0.3 app/helpers/tenon/icon_helper.rb
tenon-2.0.2 app/helpers/tenon/icon_helper.rb
tenon-2.0.1 app/helpers/tenon/icon_helper.rb
tenon-2.0.0 app/helpers/tenon/icon_helper.rb