Method: Seabright::ObjectBase::ClassMethods#create

Defined in:
lib/redis_object/base.rb

#create(ident = {}) ⇒ Object



331
332
333
334
335
# File 'lib/redis_object/base.rb', line 331

def create(ident={})
  obj = new(ident)
  obj.save
  obj
end