Module: Skala::DeepDupable

Included in:
Adapter::Operation::Request
Defined in:
lib/skala.rb

Overview

virtus objects do not deep_dup correctly, so the have to include this

Instance Method Summary collapse

Instance Method Details

#deep_dupObject



12
13
14
# File 'lib/skala.rb', line 12

def deep_dup
  Marshal.load(Marshal.dump(self))
end