yield_self in Ruby 2.5 // Michał Łomnicki
28-Sep-2017 3371
At first, it doesn’t look like a noticeable feature. It just returns what the block returns. However it turns out that it’s akin to the pipe operator known from F.
yield_self in Ruby 2.5 // Michał Łomnicki #ruby #rubydeveloper #rubyonrails #yield_self #Michał Łomnicki https://rubyonrails.ba/link/yield_self-in-ruby-2-5-michal-lomnicki