zcgiuq
Last Updated: February 25, 2016
·
358
· dan2552

Use tap to return an object after doing something with it

my_object.tap{ |my_object| my_object.do_anything_here } 
=> my_object