diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-23 13:14:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-13 18:44:32 +0900 |
commit | f169043d81524b5b529f2c1e9c35437ba5bc3a7a (patch) | |
tree | caa8e094163afc9d2d177cc0d151a8b906704aee /NEWS | |
parent | e717d6faa8463c70407e6aaf116c6b6181f30be6 (diff) | |
download | ruby-f169043d81524b5b529f2c1e9c35437ba5bc3a7a.tar.gz |
Add pipeline operator [Feature #15799]
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -48,6 +48,18 @@ sufficient information, see the ChangeLog file or Redmine " # This has been warned since 2.4 EOS +* Pipeline operator is added. + + This code equals to the next code. + + foo() + |> bar 1, 2 + |> display + + foo() + .bar(1, 2) + .display + === Core classes updates (outstanding ones only) Enumerable:: |