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

From: usa@...
Date: 2017-03-25 17:03:10 UTC
List: ruby-core #80335
Issue #12975 has been updated by usa (Usaku NAKAMURA).

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

ruby_2_2 r58104 merged revision(s) 57780.

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

* 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: REQUIRED, 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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next