Class: FoxTail::IconSets::Base
- Inherits:
-
Object
- Object
- FoxTail::IconSets::Base
- Defined in:
- lib/fox_tail/icon_sets/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Base
constructor
A new instance of Base.
- #path(icon, variant: :solid) ⇒ Object
- #root_path ⇒ Object
Constructor Details
#initialize(name) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/fox_tail/icon_sets/base.rb', line 8 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/fox_tail/icon_sets/base.rb', line 6 def name @name end |
Instance Method Details
#path(icon, variant: :solid) ⇒ Object
12 13 14 |
# File 'lib/fox_tail/icon_sets/base.rb', line 12 def path(icon, variant: :solid) raise NotImplementedError end |
#root_path ⇒ Object
16 17 18 |
# File 'lib/fox_tail/icon_sets/base.rb', line 16 def root_path raise NotImplementedError end |