From bda63ef591b06ecd4cb6b3c891a4428aa911ede5 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 5 Jan 2016 02:47:38 +0000 Subject: 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 --- ChangeLog | 5 +++++ doc/marshal.rdoc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a9c7e32d5..8a5d1c2f9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 5 11:47:23 2016 Damir Gaynetdinov + + * doc/marshal.rdoc: Clarify object references example, that the + reference is same object. [Fix GH-1156] + Tue Jan 5 05:06:51 2016 Eric Wong * ext/stringio/stringio.c (strio_binmode): implement to set encoding 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 -"hello" twice: +For example, the following stream contains an Array of the same +"hello" object twice: "\004\b[\a\"\nhello@\006" -- cgit v1.2.3