summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-complex/mrblib/complex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-complex/mrblib/complex.rb')
-rw-r--r--mrbgems/mruby-complex/mrblib/complex.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/mrbgems/mruby-complex/mrblib/complex.rb b/mrbgems/mruby-complex/mrblib/complex.rb
index f07cb4ba5..105c56d40 100644
--- a/mrbgems/mruby-complex/mrblib/complex.rb
+++ b/mrbgems/mruby-complex/mrblib/complex.rb
@@ -35,15 +35,6 @@ class Complex < Numeric
end
end
- def /(rhs)
- if rhs.is_a? Complex
- __div__(rhs)
- elsif rhs.is_a? Numeric
- Complex(real / rhs, imaginary / rhs)
- end
- end
- alias_method :quo, :/
-
def abs
Math.hypot imaginary, real
end