edge badge
Methods
D
Instance Public methods
duplicable?()

Complexes are not duplicable:

Complex(1).duplicable? # => false
Complex(1).dup         # => TypeError: can't copy Complex
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 136
def duplicable?
  false
end