Module: Grudge::Config

Defined in:
lib/grudge/config.rb

Defined Under Namespace

Classes: ConfigFile

Class Method Summary collapse

Class Method Details

.fire_me_up(env) ⇒ Object

ConfigFile



15
16
17
# File 'lib/grudge/config.rb', line 15

def self.fire_me_up(env)
  @config = ConfigFile.new(File.new('config/grudge.yml'), env)
end

.method_missing(meth, *args, &blk) ⇒ Object



19
20
21
# File 'lib/grudge/config.rb', line 19

def self.method_missing(meth, *args, &blk)
  @config.send(meth)
end