[ruby-core:80235] [Ruby trunk Bug#10403] `puts` documentation fix

From: nagachika00@...
Date: 2017-03-19 20:38:41 UTC
List: ruby-core #80235
Issue #10403 has been updated by nagachika (Tomoyuki Chikanaga).

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

ruby_2_3 r58025 merged revision(s) 57767,57944.

----------------------------------------
Bug #10403: `puts` documentation fix
https://bugs.ruby-lang.org/issues/10403#change-63672

* Author: ExplodingCabbage (Mark Amery)
* Status: Closed
* Priority: Normal
* Assignee: drbrain (Eric Hodel)
* Target version: 
* ruby -v: 
* Backport: 2.2: REQUIRED, 2.3: DONE, 2.4: DONE
----------------------------------------
Patch attached. It's a minor documentation fix after something confused me in the docs. The previous docs seem to imply that `puts` may use something other than a newline as a record separator, and I had to dive into the code to learn that actually that isn't true.

Sorry if I've gotten anything wrong in either my change or the process by which I've submitted it (I was following the instructions at http://blog.steveklabnik.com/posts/2011-05-10-contributing-to-ruby-s-documentation). I'm a total Ruby noob and fairly C-illiterate too, so it's possible I've been a moron in some way.

Cheers :)

---Files--------------------------------
0001-puts-documentation-fix.patch (1.1 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