Project

General

Profile

Actions

Bug #12975

closed

Edit documentation for IO#print function

Added by da1chy (Dario Daic) over 7 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.3.0
[ruby-core:78291]

Description

Important changes made:

  • Delete a duplicate sentence relating to a description of global variable $_
  • Split the whole paragraph into three semantically related smaller ones.
    To make it easier to digest the content.
  • Emphasize names of separators. To make a distinction between each one.
    They are similar both in naming and their functions.
  • Add "and is a string" where usage of $' and $\ is explained.
    When assigning any other value then a string to each of them,
    Ruby throws a TypeError. It seems like a valid point to highlight.

Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0