Class: Object

Inherits:
BasicObject
Defined in:
lib/relaton_bib/deep_dup.rb

Instance Method Summary collapse

Instance Method Details

#deep_dupObject



6
7
8
# File 'lib/relaton_bib/deep_dup.rb', line 6

def deep_dup
  duplicable? ? dup : self
end

#duplicable?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/relaton_bib/deep_dup.rb', line 2

def duplicable?
  true
end