class Object

Now you too can dup objects without fear of annoying exceptions!

Public Instance Methods

safe_dup() click to toggle source

By default, reference types use the dup method.

# File lib/safe_dup.rb, line 8
def safe_dup
  dup
end