summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 18:10:55 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 18:10:55 +0000
commit93bdb0f1ab67e6d2185b17c099a983376ff102ff (patch)
treebd0b03562acd27cafec4027831ab0cc81bf0dfdd /lib
parent7ce9d4f40ba48ce9f0100ccb72c661c8cc02c77f (diff)
merge revision(s) 57431:
[DOC] Use Integer instead of Fixnum [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/weakref.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/weakref.rb b/lib/weakref.rb
index cdfbe4a679..ff04e37be3 100644
--- a/lib/weakref.rb
+++ b/lib/weakref.rb
@@ -78,7 +78,7 @@ class WeakRef < Delegator
# Creates a weak reference to +orig+
#
# Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
- # Fixnum, or Float.
+ # Integer, or Float.
def initialize(orig)
case orig