[DOC] Fix typo in rdoc of `transform_values!` [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-08-28 11:20:08 +00:00
Родитель b3c70d4c7e
Коммит 14638d8547
1 изменённых файлов: 1 добавлений и 1 удалений

2
hash.c
Просмотреть файл

@ -1948,7 +1948,7 @@ rb_hash_transform_values(VALUE hash)
* h.transform_values! {|v| v * v + 1 } #=> { a: 2, b: 5, c: 10 }
* h.transform_values!(&:to_s) #=> { a: "2", b: "5", c: "10" }
* h.transform_values!.with_index {|v, i| "#{v}.#{i}" }
* #=> { a: "1.0", b: "5.1", c: "10.2" }
* #=> { a: "2.0", b: "5.1", c: "10.2" }
*
* If no block is given, an enumerator is returned instead.
*/