Class: FoxTail::IconSets::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/fox_tail/icon_sets/base.rb

Direct Known Subclasses

FlowbiteIconSet, HeroIconSet

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (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

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/fox_tail/icon_sets/base.rb', line 12

def path(icon, variant: :solid)
  raise NotImplementedError
end

#root_pathObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/fox_tail/icon_sets/base.rb', line 16

def root_path
  raise NotImplementedError
end