Class: ROM::RelationRegistry Private
- Defined in:
- lib/rom/relation_registry.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from Registry
Instance Method Summary collapse
-
#initialize(elements = {}, options = {}) {|_self, elements| ... } ⇒ RelationRegistry
constructor
private
A new instance of RelationRegistry.
Methods inherited from Registry
#each, element_not_found_error, #fetch, #key?, #map, #merge, new, #respond_to_missing?, #to_hash
Methods included from Initializer
Constructor Details
#initialize(elements = {}, options = {}) {|_self, elements| ... } ⇒ RelationRegistry
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.
Returns a new instance of RelationRegistry.
7 8 9 10 |
# File 'lib/rom/relation_registry.rb', line 7 def initialize(elements = {}, = {}) super yield(self, elements) if block_given? end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ROM::Registry