Class: Cure::Configuration::ConfigurationSource

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cure/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



64
65
66
# File 'lib/cure/config.rb', line 64

def config
  @config
end

Instance Method Details

#load_config(config) ⇒ Config

Parameters:

Returns:



68
69
70
# File 'lib/cure/config.rb', line 68

def load_config(config)
  @config = config
end