Sha256: 35021fdf7964413b9bee2b5422e5caff352de3fba993766abb0963acd4dd5a0f

Contents?: true

Size: 153 Bytes

Versions: 49

Compression:

Stored size: 153 Bytes

Contents

module SemanticIconHelper
  def semantic_icon(*names)
    content_tag :i, nil, class: names.map{|name| "#{name.to_s.gsub('_','-')}" } << 'icon'
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
semantic-ui-sass-0.15.1.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.14.0.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.13.1.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.13.0.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.5.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.4.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.3.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.2.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.1.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.12.0.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.11.0.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.10.3.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.10.2.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.10.1.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.10.0.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.9.6.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.9.5.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.9.4.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.9.3.0 app/helpers/semantic_icon_helper.rb
semantic-ui-sass-0.9.2.0 app/helpers/semantic_icon_helper.rb