Module: CiteProc::Extensions::DeepCopy
Instance Method Summary collapse
-
#deep_copy ⇒ Object
See Matz, Flanagan: ‘The Ruby Programming Language’, p.83.
Instance Method Details
#deep_copy ⇒ Object
See Matz, Flanagan: ‘The Ruby Programming Language’, p.83
19 20 21 |
# File 'lib/citeproc/extensions.rb', line 19 def deep_copy Marshal.load(Marshal.dump(self)) end |