Module: Hoss::Config::Options::ClassMethods Private
- Defined in:
- lib/hoss/config/options.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #option(key, **args) ⇒ Object private
- #schema ⇒ Object private
Instance Method Details
#option(key, **args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
103 104 105 |
# File 'lib/hoss/config/options.rb', line 103 def option(key, **args) schema[key] = args end |
#schema ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
99 100 101 |
# File 'lib/hoss/config/options.rb', line 99 def schema @schema ||= {} end |