3 Cool Ruby Tricks

Posted on Wednesday 27 October, 2010 in ruby

Destructing arrays

Splat a range into an array

Mass assign variables from a hash with values_at

blog comments powered by Disqus


A blog by Michael Jones, a developer currently working at forward, whose interests include: web technologies; ruby; functional programming; design and making the perfect cup of filter coffee.

Subscribe by RSS