Module: Cequel::Util
- Defined in:
- lib/cequel/util.rb
Overview
Utility methods
Defined Under Namespace
Modules: Forwardable, HashAccessors
Class Method Summary collapse
-
.deep_copy(obj) ⇒ Object
Make a deep copy of the object.
Class Method Details
.deep_copy(obj) ⇒ Object
Make a deep copy of the object
52 53 54 |
# File 'lib/cequel/util.rb', line 52 def deep_copy(obj) Marshal.load(Marshal.dump(obj)) end |