Module: Cloudcover::GlobalConfig

Extended by:
GlobalConfig
Included in:
ConfigInstance, GlobalConfig
Defined in:
lib/cloudcover/config.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, args = false) ⇒ Object (private)



46
47
48
# File 'lib/cloudcover/config.rb', line 46

def method_missing(method, args=false)
  config_data.send(method, args)
end

Instance Method Details

#configObject



32
33
34
# File 'lib/cloudcover/config.rb', line 32

def config
  config_data.to_hash
end

#load(path) ⇒ Object



36
37
38
39
# File 'lib/cloudcover/config.rb', line 36

def load(path)
  load_config(path)
  config
end