From: Christoffer Sawicki Date: 2006-08-24T05:45:05+09:00 Subject: Integer(nil) versus Float(nil) versus String(nil) Dear Rubyists, def x() yield rescue :error end [ x { Integer(nil) }, x { Float(nil) }, x{ String(nil) } ] # => [0, :error, ""] Isn't that a bit inconsistent? Cheers, -- Christoffer Sawicki http://vemod.net/