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:
parent
3fe728e76b
commit
32df87feab
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue