Module: SafeDup

Included in:
FalseClass, NilClass, Numeric, Regexp, Symbol, Thread, TrueClass
Defined in:
lib/safe_dup.rb,
lib/safe_dup/version.rb

Overview

For value types, just return self!

Constant Summary collapse

VERSION =
"1.0.3"

Instance Method Summary collapse

Instance Method Details

#safe_dupObject



15
16
17
# File 'lib/safe_dup.rb', line 15

def safe_dup
  self
end