Hello Gavin,

Friday, January 17, 2003, 5:31:37 AM, you wrote:
GS> I wanted to do
GS>   hash = arg.to_h rescue {}
GS> but that doesn't work.

try

hash = (arg.to_h rescue {})

at least

a = 1
a = 0/0 rescue 0
p a #=> 0

in ruby 1.7.3 (2002-12-16) [i386-mswin32]

-- 
Best regards,
 Bulat                            mailto:bulatz / integ.ru