method

generic?

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

No documentation available.

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