Method: ROM::Relation::ClassInterface#set_schema!

Defined in:
lib/rom/relation/class_interface.rb

#set_schema!(schema) ⇒ Schema

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.

Assign a schema to a relation class

Parameters:

Returns:



124
125
126
# File 'lib/rom/relation/class_interface.rb', line 124

def set_schema!(schema)
  @schema = schema
end