Elixir-like pipes in Ruby
If you use Elixir (and the Phoenix framework), you’ve probably admired the beauty and power of the |> pipelines. For example:
"String"
|> add(" is a common type")
|> IO.puts
# => "String is a common type"
In Ruby, the same mechanism can be achieved ...
langage-ruby.hashnode.dev2 min read