Class: Sileo::Configuration
- Inherits:
-
Object
- Object
- Sileo::Configuration
- Defined in:
- lib/sileo/configuration.rb
Instance Attribute Summary collapse
-
#autopilot_collapse_delay ⇒ Object
Returns the value of attribute autopilot_collapse_delay.
-
#autopilot_expand_delay ⇒ Object
Returns the value of attribute autopilot_expand_delay.
-
#default_duration ⇒ Object
Returns the value of attribute default_duration.
-
#default_offset ⇒ Object
Returns the value of attribute default_offset.
-
#default_position ⇒ Object
Returns the value of attribute default_position.
-
#default_roundness ⇒ Object
Returns the value of attribute default_roundness.
-
#enable_autopilot ⇒ Object
Returns the value of attribute enable_autopilot.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 19 20 21 |
# File 'lib/sileo/configuration.rb', line 13 def initialize @default_position = :top_right @default_duration = 6000 @default_roundness = 18 @default_offset = 16 @enable_autopilot = true @autopilot_expand_delay = 150 @autopilot_collapse_delay = 4000 end |
Instance Attribute Details
#autopilot_collapse_delay ⇒ Object
Returns the value of attribute autopilot_collapse_delay.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def autopilot_collapse_delay @autopilot_collapse_delay end |
#autopilot_expand_delay ⇒ Object
Returns the value of attribute autopilot_expand_delay.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def @autopilot_expand_delay end |
#default_duration ⇒ Object
Returns the value of attribute default_duration.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def default_duration @default_duration end |
#default_offset ⇒ Object
Returns the value of attribute default_offset.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def default_offset @default_offset end |
#default_position ⇒ Object
Returns the value of attribute default_position.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def default_position @default_position end |
#default_roundness ⇒ Object
Returns the value of attribute default_roundness.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def default_roundness @default_roundness end |
#enable_autopilot ⇒ Object
Returns the value of attribute enable_autopilot.
5 6 7 |
# File 'lib/sileo/configuration.rb', line 5 def enable_autopilot @enable_autopilot end |