Class: Locomotive::Mounter::Config
- Inherits:
-
Hash
- Object
- Hash
- Locomotive::Mounter::Config
show all
- Defined in:
- lib/locomotive/mounter/config.rb
Class Method Summary
collapse
Methods inherited from Hash
#deep_stringify_keys, #deep_symbolize_keys
Class Method Details
.[](key) ⇒ Object
14
15
16
|
# File 'lib/locomotive/mounter/config.rb', line 14
def self.[](key)
self.instance[key]
end
|
.instance ⇒ Object
6
7
8
|
# File 'lib/locomotive/mounter/config.rb', line 6
def self.instance
@@instance ||= self.new
end
|
.register(attributes) ⇒ Object
10
11
12
|
# File 'lib/locomotive/mounter/config.rb', line 10
def self.register(attributes)
self.instance.merge!(attributes)
end
|