aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-05 02:47:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-05 02:47:38 +0000
commitb01c28eeb3942bce1ddf9b9243ecf727d5421c6d (patch)
tree5287e6f6587a7fb89bb46ec1c1276baad6dfebb3 /doc
parentfabb8b45cd889a564f580830659d4db188b6c795 (diff)
downloadruby-b01c28eeb3942bce1ddf9b9243ecf727d5421c6d.tar.gz
Clarify object references example
* doc/marshal.rdoc: Clarify object references example, that the reference is same object. [Fix GH-1156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/marshal.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/marshal.rdoc b/doc/marshal.rdoc
index f97db00a49..a51f1bf873 100644
--- a/doc/marshal.rdoc
+++ b/doc/marshal.rdoc
@@ -134,8 +134,8 @@ object is encountered again. (The first object has an index of 1).
"@" represents an object link. Following the type byte is a long giving the
index of the object.
-For example, the following stream contains an Array of the object
-<code>"hello"</code> twice:
+For example, the following stream contains an Array of the same
+<code>"hello"</code> object twice:
"\004\b[\a\"\nhello@\006"