Module: Dynomite::Item::Sti

Extended by:
ActiveSupport::Concern
Included in:
Components
Defined in:
lib/dynomite/item/sti.rb

Instance Method Summary collapse

Instance Method Details

#set_typeObject



39
40
41
# File 'lib/dynomite/item/sti.rb', line 39

def set_type
  self[self.class.inheritance_field_name] = self.class.name
end