mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ci skip] Enumerator doc cleanup
This is my first attempt at a pull request. I was reading the ruby docs the other day and noticed that the output didn't match the code sample on the with_object documentation. Inserted spaces to fix it.
This commit is contained in:
parent
abe2e7de4d
commit
bfe706716f
Notes:
git
2020-04-11 11:23:51 +09:00
1 changed files with 3 additions and 3 deletions
|
@ -722,9 +722,9 @@ enumerator_with_object_i(RB_BLOCK_CALL_FUNC_ARGLIST(val, memo))
|
|||
* puts "#{string}: #{x}"
|
||||
* end
|
||||
*
|
||||
* # => foo:0
|
||||
* # => foo:1
|
||||
* # => foo:2
|
||||
* # => foo: 0
|
||||
* # => foo: 1
|
||||
* # => foo: 2
|
||||
*/
|
||||
static VALUE
|
||||
enumerator_with_object(VALUE obj, VALUE memo)
|
||||
|
|
Loading…
Add table
Reference in a new issue