[ruby-core:80395] [Ruby trunk Bug#12975] Edit documentation for IO#print function

From: nagachika00@...
Date: 2017-03-27 16:06:14 UTC
List: ruby-core #80395
Issue #12975 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: DONE to 2.2: DONE, 2.3: DONE, 2.4: DONE

ruby_2_3 r58168 merged revision(s) 57780.

----------------------------------------
Bug #12975: Edit documentation for IO#print function
https://bugs.ruby-lang.org/issues/12975#change-63884

* Author: da1chy (Dario Daic)
* Status: Closed
* Priority: Normal
* Assignee: drbrain (Eric Hodel)
* Target version: 
* ruby -v: 2.3.0
* Backport: 2.2: DONE, 2.3: DONE, 2.4: DONE
----------------------------------------
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--------------------------------
0001-Edit-documentation-for-IO-print.patch (1.98 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next