I was looking around to see if there was a nice way to use the splat operator or some other technique in Ruby to extract some values from my custom object. Found this nice article on the subject.
https://jsarbada.wordpress.com/2019/02/05/destructuring-with-ruby/
Top comments (0)