lib/ruby_wolf/configuration.rb in ruby_wolf-0.3.0 vs lib/ruby_wolf/configuration.rb in ruby_wolf-0.3.1
- old
+ new
@@ -2,16 +2,18 @@
class Configuration < BasicObject
DEFAULT_DAEMON = false
DEFAULT_HOST = '0.0.0.0'.freeze
DEFAULT_PORT = 3000
DEFAULT_WORKER = 4
+ DEFAULT_ENVIRONMENT = 'development'.freeze
def initialize
@configs = {
daemon: DEFAULT_DAEMON,
worker: DEFAULT_WORKER,
host: DEFAULT_HOST,
- port: DEFAULT_PORT
+ port: DEFAULT_PORT,
+ environment: DEFAULT_ENVIRONMENT
}
end
def []=(key, value)
@configs[key] = value