Module: Rubicons::ThemifyIcons
- Defined in:
- lib/rubicons/themify_icons.rb,
lib/rubicons/themify_icons/rails_helper.rb
Defined Under Namespace
Modules: RailsHelper
Constant Summary collapse
- ICONS_PATH =
File.('../../icons/themify', __dir__)
Class Method Summary collapse
- .available_icons ⇒ Object
- .icon(name, **options) ⇒ Object
- .icon!(name, **options) ⇒ Object
- .license ⇒ Object
- .pack_description ⇒ Object
- .pack_name ⇒ Object
Class Method Details
.available_icons ⇒ Object
30 31 32 |
# File 'lib/rubicons/themify_icons.rb', line 30 def available_icons @available_icons ||= BaseIconSet.available_icons(ICONS_PATH) end |
.icon(name, **options) ⇒ Object
22 23 24 |
# File 'lib/rubicons/themify_icons.rb', line 22 def icon(name, **) BaseIconSet.render_icon(name, ICONS_PATH, **) end |
.icon!(name, **options) ⇒ Object
26 27 28 |
# File 'lib/rubicons/themify_icons.rb', line 26 def icon!(name, **) BaseIconSet.render_icon!(name, ICONS_PATH, **) end |
.license ⇒ Object
18 19 20 |
# File 'lib/rubicons/themify_icons.rb', line 18 def license 'SIL OFL 1.1' end |
.pack_description ⇒ Object
14 15 16 |
# File 'lib/rubicons/themify_icons.rb', line 14 def pack_description 'Themify Icons is a complete set of icons for use in web design and apps, consisting of 320+ pixel-perfect, hand-crafted icons that are suitable for various projects.' end |
.pack_name ⇒ Object
10 11 12 |
# File 'lib/rubicons/themify_icons.rb', line 10 def pack_name 'Themify Icons' end |