Module: MongoMapper::Plugins::Sci::InstanceMethods

Defined in:
lib/mongo_mapper/plugins/sci.rb

Instance Method Summary collapse

Instance Method Details

#initialize(*args) ⇒ Object



25
26
27
28
# File 'lib/mongo_mapper/plugins/sci.rb', line 25

def initialize(*args)
  super
  write_key :_type, self.class.name if self.class.key?(:_type)
end