Module: MongoMapper::Plugins::Sci::InstanceMethods
- Defined in:
- lib/mongo_mapper/plugins/sci.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
24 25 26 27 |
# File 'lib/mongo_mapper/plugins/sci.rb', line 24 def initialize(*args) super write_key :_type, self.class.name if self.class.key?(:_type) end |