We're a place where coders share, stay up-to-date and grow their careers.
Ruby has pipes now?
Sadly, pipeline operator is reverted. github.com/ruby/ruby/commit/2ed68d...
Yes! pipeline operator added.
Feature #15799: pipeline operator - Ruby master - Ruby Issue Tracking System
And Numbered parameters.
Feature #4475: default variable name for parameter - Ruby master - Ruby Issue Tracking System
It's not released yet. You can try those new syntax by rbenv install 2.7.0-dev.
rbenv install 2.7.0-dev
Ruby has pipes now?
Sadly, pipeline operator is reverted.
github.com/ruby/ruby/commit/2ed68d...
Yes! pipeline operator added.
Feature #15799: pipeline operator - Ruby master - Ruby Issue Tracking System
And Numbered parameters.
Feature #4475: default variable name for parameter - Ruby master - Ruby Issue Tracking System
It's not released yet. You can try those new syntax by
rbenv install 2.7.0-dev
.