From 7f35c41a7df3ba9395e586fcf04a4d2808d59496 Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Fri, 26 Jul 2024 13:51:14 +0300 Subject: [PATCH] Minor typo fix --- lib/bigdecimal/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bigdecimal/util.rb b/lib/bigdecimal/util.rb index 8bfc0ed8..cb514435 100644 --- a/lib/bigdecimal/util.rb +++ b/lib/bigdecimal/util.rb @@ -155,7 +155,7 @@ class Complex < Numeric # See also Kernel.BigDecimal. # def to_d(*args) - BigDecimal(self) unless self.imag.zero? # to raise eerror + BigDecimal(self) unless self.imag.zero? # to raise error if args.length == 0 case self.real