method

generic?

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: Complex
generic?(other) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/complex.rb, line 104
  def Complex.generic?(other) # :nodoc:
    other.kind_of?(Integer) or
    other.kind_of?(Float) or
    (defined?(Rational) and other.kind_of?(Rational))
  end
Register or log in to add new notes.