Module: Rubicons::RemixIcon
- Defined in:
- lib/rubicons/remix_icon.rb,
lib/rubicons/remix_icon/rails_helper.rb
Defined Under Namespace
Modules: RailsHelper
Constant Summary collapse
- ICONS_PATH =
File.('../../icons/remix_icon', __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
33 34 35 |
# File 'lib/rubicons/remix_icon.rb', line 33 def available_icons @available_icons ||= BaseIconSet.available_icons(ICONS_PATH) end |
.icon(name, **options) ⇒ Object
25 26 27 |
# File 'lib/rubicons/remix_icon.rb', line 25 def icon(name, **) BaseIconSet.render_icon(name, ICONS_PATH, **) end |
.icon!(name, **options) ⇒ Object
29 30 31 |
# File 'lib/rubicons/remix_icon.rb', line 29 def icon!(name, **) BaseIconSet.render_icon!(name, ICONS_PATH, **) end |
.license ⇒ Object
21 22 23 |
# File 'lib/rubicons/remix_icon.rb', line 21 def license 'Apache 2.0' end |
.pack_description ⇒ Object
17 18 19 |
# File 'lib/rubicons/remix_icon.rb', line 17 def pack_description 'Remix Icon is a set of open-source neutral-style system symbols for designers and developers. Unlike other icon sets, Remix Icon provides more than 2000 icons in various categories.' end |
.pack_name ⇒ Object
13 14 15 |
# File 'lib/rubicons/remix_icon.rb', line 13 def pack_name 'Remix Icon' end |