Module: ActiveType::Marshalling::Methods

Included in:
Object, Record
Defined in:
lib/active_type/marshalling.rb

Instance Method Summary collapse

Instance Method Details

#_marshal_dump_7_1Object



47
48
49
# File 'lib/active_type/marshalling.rb', line 47

def _marshal_dump_7_1
  [super, @virtual_attributes]
end

#marshal_load(state) ⇒ Object



51
52
53
54
# File 'lib/active_type/marshalling.rb', line 51

def marshal_load(state)
  super_attributes, @virtual_attributes = state
  super(super_attributes)
end