Class: PhlexIcons::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_classes: 'size-6') ⇒ Configuration

Returns a new instance of Configuration.



8
9
10
11
12
# File 'lib/phlex-icons/configuration.rb', line 8

def initialize(default_classes: 'size-6')
  @default_classes = default_classes
  @helper_method_name = :phlex_icon
  @default_pack = nil
end

Instance Attribute Details

#default_classesObject

Returns the value of attribute default_classes.



5
6
7
# File 'lib/phlex-icons/configuration.rb', line 5

def default_classes
  @default_classes
end

#default_packObject

Returns the value of attribute default_pack.



6
7
8
# File 'lib/phlex-icons/configuration.rb', line 6

def default_pack
  @default_pack
end

#default_variantObject

Returns the value of attribute default_variant.



5
6
7
# File 'lib/phlex-icons/configuration.rb', line 5

def default_variant
  @default_variant
end

#helper_method_nameObject

Returns the value of attribute helper_method_name.



5
6
7
# File 'lib/phlex-icons/configuration.rb', line 5

def helper_method_name
  @helper_method_name
end