Method: ROM::Setup#register_relation
- Defined in:
- lib/rom/setup.rb
#register_relation(*klasses) ⇒ 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.
Relation sub-classes are being registered with this method during setup
58 59 60 |
# File 'lib/rom/setup.rb', line 58 def register_relation(*klasses) klasses.reduce(@relation_classes, :<<) end |