Module: ROM::Options::ClassMethods Private
- Defined in:
- lib/rom/support/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 Attribute Summary collapse
-
#option_definitions ⇒ Definitions
private
Available options.
Instance Method Summary collapse
- #inherited(descendant) ⇒ Object private
-
#option(name, settings = {}) ⇒ Object
Defines an option.
Instance Attribute Details
#option_definitions ⇒ Definitions
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.
Available options
151 152 153 |
# File 'lib/rom/support/options.rb', line 151 def option_definitions @option_definitions end |
Instance Method Details
#inherited(descendant) ⇒ 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.
171 172 173 174 |
# File 'lib/rom/support/options.rb', line 171 def inherited(descendant) descendant.option_definitions = option_definitions.dup super end |