Class: Cero::Adapters::SqlAdapter

Inherits:
AbstractAdapter show all
Defined in:
lib/cero/adapters/sql_adapter.rb

Instance Method Summary collapse

Methods inherited from AbstractAdapter

#all, #clear, #count, #create, #delete, #find, #first, #last, #query, #save, #update

Constructor Details

#initialize(collection = nil) ⇒ SqlAdapter

Returns a new instance of SqlAdapter.



5
6
7
8
# File 'lib/cero/adapters/sql_adapter.rb', line 5

def initialize(collection = nil)
  super
  @lock = Monitor.new
end