Class: UltraConfig::Settings
- Inherits:
-
Object
- Object
- UltraConfig::Settings
- Defined in:
- lib/ultra_config/settings.rb
Class Method Summary collapse
Class Method Details
.default ⇒ Object
3 4 5 6 7 |
# File 'lib/ultra_config/settings.rb', line 3 def self.default { type_safety: :weak } end |
.method_missing(m) ⇒ Object
17 18 19 |
# File 'lib/ultra_config/settings.rb', line 17 def self.method_missing(m) settings[m] end |
.set(setting, value) ⇒ Object
13 14 15 |
# File 'lib/ultra_config/settings.rb', line 13 def self.set(setting, value) settings[setting] = value end |
.settings ⇒ Object
9 10 11 |
# File 'lib/ultra_config/settings.rb', line 9 def self.settings @settings ||= default end |