Skip to content

Commit

Permalink
Merge pull request #299 from anakinj/minimal-typo-fix
Browse files Browse the repository at this point in the history
A minor typo fix
  • Loading branch information
hsbt authored Jul 26, 2024
2 parents 35e3b1a + 7f35c41 commit 33b5374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bigdecimal/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33b5374

Please sign in to comment.