From: nagachika00@... Date: 2015-01-21T15:52:26+00:00 Subject: [ruby-core:67726] [ruby-trunk - Bug #10526] [DOC] Revise documentation in object.c Issue #10526 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE r45375,r48260,r48320 and r48746 were backported into ruby_2_1 at r49367. r45375,r48260,r48320 are also documentation fix and need to resolve conflicts. ---------------------------------------- Bug #10526: [DOC] Revise documentation in object.c https://bugs.ruby-lang.org/issues/10526#change-51154 * Author: Marcus Stollsteimer * Status: Closed * Priority: Normal * Assignee: Zachary Scott * ruby -v: ruby 2.1.4p265 (2014-10-27 revision 48166) [i686-linux] * Backport: 2.0.0: REQUIRED, 2.1: DONE ---------------------------------------- * #inspect: be more specific about generated string, remove obsolete example * #nil?: use code examples instead of different call-seq's * #tap: clarify what is yielded * Integer(): be more specific about to_int and to_i, remove reference to Ruby 1.8 * Array(): fix error * Class: fix variable name style and indentation in example * improve consistency, fix typos and formatting Further notes: regarding #inspect: since r36709 it is decoupled from #to_s, so the example is meaningless regarding #nil?: the call-seq's are not rendered correctly on ruby-doc.org, see http://ruby-doc.org/core-2.1.5/Object.html#method-i-nil-3F ---Files-------------------------------- doc_object_c.patch (16.7 KB) 10526_doc_object_c.patch_new (16.7 KB) -- https://bugs.ruby-lang.org/