Module: MarkMapper::Plugins::Sci

Extended by:
ActiveSupport::Concern
Included in:
Document, EmbeddedDocument
Defined in:
lib/mark_mapper/plugins/sci.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#initialize(*args) ⇒ Object


76
77
78
79
# File 'lib/mark_mapper/plugins/sci.rb', line 76

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