Class: Phlex::Icons::Iconoir::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



13
14
15
16
17
18
19
# File 'lib/phlex/icons/iconoir/configuration.rb', line 13

def initialize
  @default_variant = "regular" # or "solid"
 @default_height = "24"
 @default_width = "24"
 @default_class = "size-6"
  @default_stroke_width = "2"
end

Instance Attribute Details

#default_classObject

Returns the value of attribute default_class.



10
11
12
# File 'lib/phlex/icons/iconoir/configuration.rb', line 10

def default_class
  @default_class
end

#default_heightObject

Returns the value of attribute default_height.



8
9
10
# File 'lib/phlex/icons/iconoir/configuration.rb', line 8

def default_height
  @default_height
end

#default_stroke_widthObject

Returns the value of attribute default_stroke_width.



11
12
13
# File 'lib/phlex/icons/iconoir/configuration.rb', line 11

def default_stroke_width
  @default_stroke_width
end

#default_variantObject

Returns the value of attribute default_variant.



7
8
9
# File 'lib/phlex/icons/iconoir/configuration.rb', line 7

def default_variant
  @default_variant
end

#default_widthObject

Returns the value of attribute default_width.



9
10
11
# File 'lib/phlex/icons/iconoir/configuration.rb', line 9

def default_width
  @default_width
end