Class: Rocketman::Configuration
- Inherits:
-
Object
- Object
- Rocketman::Configuration
- Defined in:
- lib/rocketman/config.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#latency ⇒ Object
Returns the value of attribute latency.
-
#storage ⇒ Object
Returns the value of attribute storage.
-
#worker_count ⇒ Object
Returns the value of attribute worker_count.
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 |
# File 'lib/rocketman/config.rb', line 13 def initialize @worker_count = 5 @latency = 3 @storage= nil @debug = false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
11 12 13 |
# File 'lib/rocketman/config.rb', line 11 def debug @debug end |
#latency ⇒ Object
Returns the value of attribute latency.
11 12 13 |
# File 'lib/rocketman/config.rb', line 11 def latency @latency end |
#storage ⇒ Object
Returns the value of attribute storage.
11 12 13 |
# File 'lib/rocketman/config.rb', line 11 def storage @storage end |
#worker_count ⇒ Object
Returns the value of attribute worker_count.
11 12 13 |
# File 'lib/rocketman/config.rb', line 11 def worker_count @worker_count end |