Module: Rubicons::Lucide
- Defined in:
- lib/rubicons/lucide.rb,
lib/rubicons/lucide/rails_helper.rb
Defined Under Namespace
Modules: RailsHelper
Constant Summary collapse
- ICONS_PATH =
File.('../../icons/lucide', __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
32 33 34 |
# File 'lib/rubicons/lucide.rb', line 32 def available_icons @available_icons ||= BaseIconSet.available_icons(ICONS_PATH) end |
.icon(name, **options) ⇒ Object
24 25 26 |
# File 'lib/rubicons/lucide.rb', line 24 def icon(name, **) BaseIconSet.render_icon(name, ICONS_PATH, **) end |
.icon!(name, **options) ⇒ Object
28 29 30 |
# File 'lib/rubicons/lucide.rb', line 28 def icon!(name, **) BaseIconSet.render_icon!(name, ICONS_PATH, **) end |
.license ⇒ Object
20 21 22 |
# File 'lib/rubicons/lucide.rb', line 20 def license 'ISC' end |
.pack_description ⇒ Object
16 17 18 |
# File 'lib/rubicons/lucide.rb', line 16 def pack_description 'Lucide is a beautiful and consistent icon toolkit made by the community. It is a fork of Feather Icons with hundreds of additional icons and active community development.' end |
.pack_name ⇒ Object
12 13 14 |
# File 'lib/rubicons/lucide.rb', line 12 def pack_name 'Lucide' end |