Module: Arel::Memory::Engine::CRUD

Included in:
Arel::Memory::Engine
Defined in:
lib/arel/engines/memory/engine.rb

Instance Method Summary collapse

Instance Method Details

#create(relation) ⇒ Object



9
10
11
# File 'lib/arel/engines/memory/engine.rb', line 9

def create(relation)
  relation.eval
end

#read(relation) ⇒ Object



5
6
7
# File 'lib/arel/engines/memory/engine.rb', line 5

def read(relation)
  relation.eval
end