class Complex

Public Instance Methods

duplicable?() click to toggle source

Complexes are not duplicable:

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