1 2 3 4 5 6 7 8 9 10 11 12 |
gauss:rubinius brian$ irb >> begin ?> raise Exception, "boo!" >> rescue Object => e >> p e >> p $! >> p $! == e >> end #<Exception: boo!> #<Exception: boo!> true => nil |
1 2 3 4 5 6 7 8 9 10 11 12 |
gauss:rubinius brian$ irb >> begin ?> raise Exception, "boo!" >> rescue Object => e >> p e >> p $! >> p $! == e >> end #<Exception: boo!> #<Exception: boo!> true => nil |