summaryrefslogtreecommitdiffstats
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
commite98825376208fc8b7944b6da53d759a5bc71d399 (patch)
tree54b812b3d1660ac42a37c30e800786b3a5913c96
parent6ea1e5b407155a5a428c35b6ef2579217f187f56 (diff)
downloadruby-e98825376208fc8b7944b6da53d759a5bc71d399.tar.gz
ruby-e98825376208fc8b7944b6da53d759a5bc71d399.tar.xz
ruby-e98825376208fc8b7944b6da53d759a5bc71d399.zip
Typo 'selt' corrected to 'self'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 90b0cbd0b..1f8d6c7a4 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