Module: Cloudcover::GlobalConfig
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, args = false) ⇒ Object
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
#config ⇒ Object
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
|