diff options
Diffstat (limited to 'lib/complex.rb')
-rw-r--r-- | lib/complex.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index 77d8859a6a..2de1791288 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -65,7 +65,9 @@ end class Complex < Numeric @RCS_ID='-$Id: complex.rb,v 1.3 1998/07/08 10:05:28 keiju Exp keiju $-' - + + undef step + def Complex.generic?(other) other.kind_of?(Integer) or other.kind_of?(Float) or |