1. Computing
Michael Morin

Ruby Tricks: Expressive Case Statements

By October 31, 2013

Follow me on:

There are a lot of tricks you can do in Ruby.  It's an expressive, dynamic language that can be used (or abused) to create some very expressive constructions.  This article outlines one such trick you can use to possibly make your case statements more readable.

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.