Class: PhlexIcons::Configuration
- Inherits:
-
Object
- Object
- PhlexIcons::Configuration
- Defined in:
- lib/phlex-icons/configuration.rb
Instance Attribute Summary collapse
-
#default_classes ⇒ Object
Returns the value of attribute default_classes.
-
#default_pack ⇒ Object
Returns the value of attribute default_pack.
-
#default_variant ⇒ Object
Returns the value of attribute default_variant.
-
#helper_method_name ⇒ Object
Returns the value of attribute helper_method_name.
Instance Method Summary collapse
-
#initialize(default_classes: 'size-6') ⇒ Configuration
constructor
A new instance of Configuration.
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_classes ⇒ Object
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_pack ⇒ Object
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_variant ⇒ Object
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_name ⇒ Object
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 |