Class: GlassyLoader::Configuration
- Inherits:
-
Object
- Object
- GlassyLoader::Configuration
- Defined in:
- lib/glassy_loader/configuration.rb
Instance Attribute Summary collapse
-
#animation ⇒ Object
Returns the value of attribute animation.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#theme ⇒ Object
Returns the value of attribute theme.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/glassy_loader/configuration.rb', line 7 def initialize @theme = :default @animation = :spin @duration = nil end |
Instance Attribute Details
#animation ⇒ Object
Returns the value of attribute animation.
5 6 7 |
# File 'lib/glassy_loader/configuration.rb', line 5 def animation @animation end |
#duration ⇒ Object
Returns the value of attribute duration.
5 6 7 |
# File 'lib/glassy_loader/configuration.rb', line 5 def duration @duration end |
#theme ⇒ Object
Returns the value of attribute theme.
5 6 7 |
# File 'lib/glassy_loader/configuration.rb', line 5 def theme @theme end |