Showing posts with label ruby if expression. Show all posts
Showing posts with label ruby if expression. Show all posts

Saturday, 5 January 2008

Ruby If Expressions- Terse and Legible

More Ruby Pickaxe Learning. "if" expressions today (not "if" statements either - they return values don't you know). I was pleased to see just how terse and legible they can be:


Beautiful.