unless exceptions.is_a?( Array ) 
  if RUBY_VERSION[0, 2] == "1.8"
    exceptions = exceptions.to_s.to_a
...

Ruby Running Ruby 1.9 or 1.8 code

by Billskog, August 25, 2009 06:06, 5 refactorings, tagged with migration, ruby ruby1.9

I am migrating some code to...

1d61786256cde4ad5a3afb2f1ff3812b Talk