зеркало из https://github.com/github/ruby.git
[DOC] Use Integer instead of Fixnum [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8eeadfe06e
Коммит
c71e1223c5
|
@ -78,7 +78,7 @@ class WeakRef < Delegator
|
||||||
# Creates a weak reference to +orig+
|
# Creates a weak reference to +orig+
|
||||||
#
|
#
|
||||||
# Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
|
# Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
|
||||||
# Fixnum, or Float.
|
# Integer, or Float.
|
||||||
|
|
||||||
def initialize(orig)
|
def initialize(orig)
|
||||||
case orig
|
case orig
|
||||||
|
|
Загрузка…
Ссылка в новой задаче