# File lib/mongo_mapper/plugins/sci.rb, line 12 def inherited(subclass) super if @collection_name == subclass.instance_variable_get("@collection_name") key :_type, String unless key?(:_type) subclass.single_collection_parent = self subclass.instance_variable_set("@single_collection_inherited", true) else remove_key :_type end end