method

generic?

v1_8_7_72 - Show latest stable - Class: Complex
generic?(other)
public

No documentation available.

# File lib/complex.rb, line 108
  def Complex.generic?(other) # :nodoc:
    other.kind_of?(Integer) or
    other.kind_of?(Float) or
    (defined?(Rational) and other.kind_of?(Rational))
  end