Class: ROM::RelationRegistry Private

Inherits:
Registry show all
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 Method Summary collapse

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.

Yields:

Yield Parameters:


9
10
11
12
# File 'lib/rom/relation_registry.rb', line 9

def initialize(elements = {}, **options)
  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