Module: ExMachina::Adapter::Memory

Defined in:
lib/ex_machina/adapter/memory.rb

Instance Method Summary collapse

Instance Method Details

#persist(model) ⇒ Object



8
9
10
# File 'lib/ex_machina/adapter/memory.rb', line 8

def persist(model)
  # do nothing
end

#within_transaction(&block) ⇒ Object



4
5
6
# File 'lib/ex_machina/adapter/memory.rb', line 4

def within_transaction(&block)
  block.call
end