From http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/

#ruby #ref #case #when
case statement with range