Class: Veewee::Config::Veewee

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Veewee

Returns a new instance of Veewee


7
8
9
10
# File 'lib/veewee/config/veewee.rb', line 7

def initialize(config)
  @env=config.env
  env.logger.info("Initializing veewee config object")
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *args, &block) ⇒ Object


12
13
14
# File 'lib/veewee/config/veewee.rb', line 12

def method_missing(m, *args, &block)
  @env.send(m, *args)
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env


5
6
7
# File 'lib/veewee/config/veewee.rb', line 5

def env
  @env
end