Method: ActiveEntity::Type::Serialized#initialize

Defined in:
lib/active_entity/type/serialized.rb

#initialize(subtype, coder) ⇒ Serialized

Returns a new instance of Serialized.



12
13
14
15
16
# File 'lib/active_entity/type/serialized.rb', line 12

def initialize(subtype, coder)
  @subtype = subtype
  @coder = coder
  super(subtype)
end