Class: TurboFlow::Configuration
- Inherits:
-
Object
- Object
- TurboFlow::Configuration
- Defined in:
- lib/turboflow/configuration.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#default_transition ⇒ Object
Returns the value of attribute default_transition.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#easing ⇒ Object
Returns the value of attribute easing.
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 12 |
# File 'lib/turboflow/configuration.rb', line 7 def initialize @default_transition = :fade @duration = 300 @easing = "ease-out" @debug = false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/turboflow/configuration.rb', line 5 def debug @debug end |
#default_transition ⇒ Object
Returns the value of attribute default_transition.
5 6 7 |
# File 'lib/turboflow/configuration.rb', line 5 def default_transition @default_transition end |
#duration ⇒ Object
Returns the value of attribute duration.
5 6 7 |
# File 'lib/turboflow/configuration.rb', line 5 def duration @duration end |
#easing ⇒ Object
Returns the value of attribute easing.
5 6 7 |
# File 'lib/turboflow/configuration.rb', line 5 def easing @easing end |