[ruby-core:86240] [Ruby trunk Misc#14622] Improve documentation for 'string '.split to also mention trailing spaces being ignored

From: rr.rosas@...
Date: 2018-03-21 14:09:30 UTC
List: ruby-core #86240
Issue #14622 has been reported by rosenfeld (Rodrigo Rosenfeld Rosas).

----------------------------------------
Misc #14622: Improve documentation for 'string '.split to also mention trailing spaces being ignored
https://bugs.ruby-lang.org/issues/14622

* Author: rosenfeld (Rodrigo Rosenfeld Rosas)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
The current documentation only talks about leading spaces being ignored when a single space is used as an argument. I've suggested a few changes to the documentation and example to make it clearer that trailing spaces are also ignored in that case:

https://github.com/ruby/ruby/pull/1845



-- 
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