Class: Pal::Configuration::ConfigurationSource

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/pal/configuration.rb

Overview

Config storage source for access, stored as singleton.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



68
69
70
# File 'lib/pal/configuration.rb', line 68

def config
  @config
end

Instance Method Details

#load_config(config) ⇒ Config

Parameters:

Returns:



72
73
74
# File 'lib/pal/configuration.rb', line 72

def load_config(config)
  @config = config
end