Class: Mongoid::Kraken::Sucker

Inherits:
Object
  • Object
show all
Includes:
Document
Defined in:
lib/mongoid/kraken/sucker.rb

Class Method Summary collapse

Class Method Details

.instantiate(attrs = nil) ⇒ Object



14
15
16
# File 'lib/mongoid/kraken/sucker.rb', line 14

def self.instantiate(attrs = nil)
  super(attrs).instance_eval { sucker_type_casting }
end