Module: Coral::Mixin::ConfigOptions
- Included in:
- Config
- Defined in:
- lib/coral_core/mixin/config_options.rb
Instance Method Summary collapse
-
#clear_options(contexts) ⇒ Object
—.
-
#contexts(contexts = [], hierarchy = []) ⇒ Object
—————————————————————————– Configuration options interface.
-
#get_options(contexts, force = true) ⇒ Object
—.
-
#set_options(contexts, options, force = true) ⇒ Object
—.
Instance Method Details
#clear_options(contexts) ⇒ Object
32 33 34 35 |
# File 'lib/coral_core/mixin/config_options.rb', line 32 def (contexts) Config::Options.clear(contexts) return self end |
#contexts(contexts = [], hierarchy = []) ⇒ Object
Configuration options interface
13 14 15 |
# File 'lib/coral_core/mixin/config_options.rb', line 13 def contexts(contexts = [], hierarchy = []) return Config::Options.contexts(contexts, hierarchy) end |