yield_self in Ruby 2.5
Ruby 2.5’s Object#yield_self method makes it possible to chain operations in a different way.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Ruby 2.5’s Object#yield_self method makes it possible to chain operations in a different way.
Post a comment