1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Typo 'selt' corrected to 'self'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shigek 2003-08-16 13:36:40 +00:00
parent 3fe728e76b
commit 32df87feab

View file

@ -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