Class: Synvert::Core::Configuration
- Inherits:
-
Hash
- Object
- Hash
- Synvert::Core::Configuration
- Includes:
- Singleton
- Defined in:
- lib/synvert/core/configuration.rb
Overview
Synvert global configuration.
Instance Method Summary collapse
-
#get(key) ⇒ Object
Get the configuration.
-
#set(key, value) ⇒ Object
Set the configuration.
Instance Method Details
#get(key) ⇒ Object
Get the configuration.
21 22 23 |
# File 'lib/synvert/core/configuration.rb', line 21 def get(key) self[key] end |
#set(key, value) ⇒ Object
Set the configuration.
13 14 15 |
# File 'lib/synvert/core/configuration.rb', line 13 def set(key, value) self[key] = value end |