Skip to content

Commit 33b5374

Browse files
authored
Merge pull request #299 from anakinj/minimal-typo-fix
A minor typo fix
2 parents 35e3b1a + 7f35c41 commit 33b5374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bigdecimal/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class Complex < Numeric
155155
# See also Kernel.BigDecimal.
156156
#
157157
def to_d(*args)
158-
BigDecimal(self) unless self.imag.zero? # to raise eerror
158+
BigDecimal(self) unless self.imag.zero? # to raise error
159159

160160
if args.length == 0
161161
case self.real

0 commit comments

Comments
 (0)