1
0
Fork 0
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:
gerero20 2020-03-26 11:25:22 -07:00 committed by Nobuyoshi Nakada
parent abe2e7de4d
commit bfe706716f
Notes: git 2020-04-11 11:23:51 +09:00

View file

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