Class: OldApiResource::Associations::RelatedObjectHash
- Inherits:
-
HashWithIndifferentAccess
- Object
- HashWithIndifferentAccess
- OldApiResource::Associations::RelatedObjectHash
- Defined in:
- lib/old_api_resource/associations/related_object_hash.rb
Overview
RelatedObjectHash, re-defines dup to be recursive
Instance Method Summary collapse
- #dup ⇒ Object (also: #clone)
Instance Method Details
#dup ⇒ Object Also known as: clone
5 6 7 |
# File 'lib/old_api_resource/associations/related_object_hash.rb', line 5 def dup Marshal.load(Marshal.dump(self)) end |