Ruby Studio Blog

Agile web development and IT solutions

Compacting Ruby Code

Dru Riley has posted a nice example on refactoring a reddit-like ruby application into just 10 lines of very dense code.

We are using an application … to explore seldom used features of Ruby. This tutorial will highlight concepts such as ternary operators, multiple assignment, and multiple argument passing.

Read the entire post here

Comments