Class: Castle::Utils::Cloner
- Inherits:
-
Object
- Object
- Castle::Utils::Cloner
- Defined in:
- lib/castle/utils/cloner.rb
Class Method Summary collapse
Class Method Details
.call(object) ⇒ Object
6 7 8 |
# File 'lib/castle/utils/cloner.rb', line 6 def self.call(object) Marshal.load(Marshal.dump(object)) end |