Class: Rocketman::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rocketman/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#debugObject

Returns the value of attribute debug.



11
12
13
# File 'lib/rocketman/config.rb', line 11

def debug
  @debug
end

#latencyObject

Returns the value of attribute latency.



11
12
13
# File 'lib/rocketman/config.rb', line 11

def latency
  @latency
end

#storageObject

Returns the value of attribute storage.



11
12
13
# File 'lib/rocketman/config.rb', line 11

def storage
  @storage
end

#worker_countObject

Returns the value of attribute worker_count.



11
12
13
# File 'lib/rocketman/config.rb', line 11

def worker_count
  @worker_count
end