summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/lib/bigdecimal
diff options
context:
space:
mode:
authorshigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-16 13:36:40 +0000
committershigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-16 13:36:40 +0000
commit32df87feabb8b2b99fc47e64896b2c922dca6451 (patch)
tree54b812b3d1660ac42a37c30e800786b3a5913c96 /ext/bigdecimal/lib/bigdecimal
parent3fe728e76b5020fbe0277ffc039e79f3c2834229 (diff)
Typo 'selt' corrected to 'self'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/lib/bigdecimal')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb
index 90b0cbd0b8..1f8d6c7a49 100644
--- a/ext/bigdecimal/lib/bigdecimal/util.rb
+++ b/ext/bigdecimal/lib/bigdecimal/util.rb
@@ -19,13 +19,13 @@
#
class Float < Numeric
def to_d
- BigDecimal::new(selt.to_s)
+ BigDecimal(self.to_s)
end
end
class String
def to_d
- BigDecimal::new(self)
+ BigDecimal(self)
end
end