Sha256: e3032cd95b1c5538ee3d62c3df1f78e416512f4c563b6035b73935f9b2bf8e9b

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

module SocialGlyphHelper
  # ==== Examples
  # social_glyph(:dropbox, :large)
  # # => <i class="social-icon dropbox large"></i>
  # social_glyph(:dropbox)
  # # => <i class="social-icon dropbox"></i>

  def social_glyph(icon, size)
  	content_tag :i, nil, :class => "social-icon #{icon} #{size unless size.nil?}"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
groundworkcss-rails-0.2.12 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.11 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.10 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.9 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.8 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.7 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.6 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.5 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2.2 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.2 app/helpers/social_glyph_helper.rb~
groundworkcss-rails-0.1 app/helpers/social_glyph_helper.rb~