Class: Heroicons::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/heroicons/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
10
# File 'lib/heroicons/config.rb', line 7

def initialize
  @variant = :solid
  @attributes = Hash.new { |_hash, _key| {} }
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



5
6
7
# File 'lib/heroicons/config.rb', line 5

def attributes
  @attributes
end

#variantObject

Returns the value of attribute variant.



5
6
7
# File 'lib/heroicons/config.rb', line 5

def variant
  @variant
end