[ruby-cvs:70701] nobu:r63610 (trunk): [Docs] Improve documentation of String#lines

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jun 8 19:45:01 JST 2018


nobu	2018-06-08 19:45:01 +0900 (Fri, 08 Jun 2018)

  New Revision: 63610

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63610

  Log:
    [Docs] Improve documentation of String#lines
    
    * Document about optional getline arguments
    * Add examples, especially for the demonstration of `chomp: true`
    [Fix GH-1886]
    
    From: Koki Takahashi <hakatasiloving at gmail.com>

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list