diff options
| author | Paweł Przeniczny <pawel.przeniczny@airhelp.com> | 2019-11-24 23:08:16 +0100 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-25 09:19:15 +0900 |
| commit | ce50af21af3d23e292b73f955a8b12ea9c2038e3 (patch) | |
| tree | 893d8141ec5de75019fbb79eb7219d0900c69f2a /spec/ruby/core/array/shared/select.rb | |
| parent | fd956c72eaeb07d26d61310a9e4b55b500237c02 (diff) | |
Fix the docs for Proc#>>.
The docs are wrong about the behaviour of `#>>` (looks like it was copied from `#<<`)
In `(prc >> g).call(n)` _prc_ is called first (with _n_), *then* _g_ is called with the result.
Code examples are OK.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2691
Diffstat (limited to 'spec/ruby/core/array/shared/select.rb')
0 files changed, 0 insertions, 0 deletions
