mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Tweaks for String#each_line
This commit is contained in:
parent
17eee25c66
commit
7816a04d97
2 changed files with 17 additions and 11 deletions
4
string.c
4
string.c
|
@ -9677,8 +9677,8 @@ rb_str_enumerate_lines(int argc, VALUE *argv, VALUE str, VALUE ary)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* each_line(line_sep = $/, chomp: false) {|substring| ... } -> self
|
||||
* each_line(line_sep = $/, chomp: false) -> enumerator
|
||||
* each_line(record_separator = $/, chomp: false) {|substring| ... } -> self
|
||||
* each_line(record_separator = $/, chomp: false) -> enumerator
|
||||
*
|
||||
* :include: doc/string/each_line.rdoc
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue