Class: SvgIcon::Configuration
- Inherits:
-
Object
- Object
- SvgIcon::Configuration
- Defined in:
- lib/svg_icon/configuration.rb
Constant Summary collapse
- DEFAULT_ICON =
"bi"
Instance Attribute Summary collapse
-
#default_class ⇒ Object
Returns the value of attribute default_class.
-
#extra_icons_path ⇒ Object
Returns the value of attribute extra_icons_path.
-
#icon ⇒ Object
Returns the value of attribute icon.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 |
# File 'lib/svg_icon/configuration.rb', line 11 def initialize @icon = DEFAULT_ICON end |
Instance Attribute Details
#default_class ⇒ Object
Returns the value of attribute default_class.
8 9 10 |
# File 'lib/svg_icon/configuration.rb', line 8 def default_class @default_class end |
#extra_icons_path ⇒ Object
Returns the value of attribute extra_icons_path.
9 10 11 |
# File 'lib/svg_icon/configuration.rb', line 9 def extra_icons_path @extra_icons_path end |
#icon ⇒ Object
Returns the value of attribute icon.
7 8 9 |
# File 'lib/svg_icon/configuration.rb', line 7 def icon @icon end |