Shai Rosenfeld wrote:

> ..quick reply (didn't last a minute)
> :)
> 
> thanks.

Or...

var = { 1 => 'one', 2 => 'two', 3 => 'three' }.fetch(number, 'else')

-- 
  Phlip
  http://www.oreilly.com/catalog/9780596510657/
  "Test Driven Ajax (on Rails)"
  assert_xpath, assert_javascript, & assert_ajax