ruby safe navigation operator (&.)
This post you will learn about the most interesting addition to Ruby 2.3.0, the Safe Navigation Operator(&.).
Scenario
Lets say we have a cart object, which belongs to an owner and we want to know the email of the owner.
Most common solution we find ...
blog.przbadu.dev1 min read