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

From: usa@...
Date: 2017-03-25 17:11:52 UTC
List: ruby-core #80337
Issue #10403 has been updated by usa (Usaku NAKAMURA).

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

ruby_2_2 r58106 merged revision(s) 57767,57943.

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

* Author: ExplodingCabbage (Mark Amery)
* Status: Closed
* Priority: Normal
* Assignee: drbrain (Eric Hodel)
* Target version: 
* ruby -v: 
* Backport: 2.2: DONE, 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:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next