mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
fabb8b45cd
commit
b01c28eeb3
2 changed files with 7 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue