summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
diff options
context:
space:
mode:
authorshigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 13:47:29 +0000
committershigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 13:47:29 +0000
commit480fa2f5cc1763a28b5f986085159dc007a42379 (patch)
tree9466c44e1f3b9e1886598dcdacc8fade174ec559 /ext/bigdecimal
parent804e475b666c2f46ff4e484a2b869f44cbfa7c0b (diff)
Typo pointed out by Javier Goizueta fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb
index 369fe3fdd0..de5dae8546 100644
--- a/ext/bigdecimal/lib/bigdecimal/util.rb
+++ b/ext/bigdecimal/lib/bigdecimal/util.rb
@@ -20,7 +20,7 @@
#
class Float < Numeric
def to_d
- BigFloat::new(selt.to_s)
+ BigDecimal::new(selt.to_s)
end
end