1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix rdoc formatting [ci skip]

This commit is contained in:
Taha Husain 2020-01-31 13:04:33 +05:30 committed by Nobuyoshi Nakada
parent a7e1e310dc
commit 7f6bd6bb1c
Notes: git 2020-02-01 23:07:06 +09:00

View file

@ -135,8 +135,7 @@ sufficient information, see the ChangeLog file or Redmine
==== Numbered parameters
* Numbered parameters as default block parameters are introduced.
[Feature #4475]
* Numbered parameters as default block parameters are introduced. [Feature #4475]
[1, 2, 10].map { _1.to_s(16) } #=> ["1", "2", "a"]
[[1, 2], [3, 4]].map { _1 + _2 } #=> [3, 7]