Class: Rare::Configuration
- Inherits:
-
Object
- Object
- Rare::Configuration
- Defined in:
- lib/rare/configuration.rb
Instance Attribute Summary collapse
-
#sleep_interval ⇒ Object
Returns the value of attribute sleep_interval.
-
#storage ⇒ Object
Returns the value of attribute storage.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/rare/configuration.rb', line 8 def initialize @storage = {} @sleep_interval = 0.01 end |
Instance Attribute Details
#sleep_interval ⇒ Object
Returns the value of attribute sleep_interval.
5 6 7 |
# File 'lib/rare/configuration.rb', line 5 def sleep_interval @sleep_interval end |
#storage ⇒ Object
Returns the value of attribute storage.
5 6 7 |
# File 'lib/rare/configuration.rb', line 5 def storage @storage end |