Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/safe_dup.rb
Overview
Now you too can dup objects without fear of annoying exceptions!
Instance Method Summary collapse
-
#safe_dup ⇒ Object
By default, reference types use the dup method.
Instance Method Details
#safe_dup ⇒ Object
By default, reference types use the dup method.
8 9 10 |
# File 'lib/safe_dup.rb', line 8 def safe_dup dup end |