Actions
Bug #10526
closed[DOC] Revise documentation in object.c
Description
- #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
Actions
Like0
Like0Like0Like0Like0Like0Like0