How to make an exception reraised from bar in the last line, it looks like it came from there, and not from a block? I want to see bar in the opposite direction.
 begin raise "foo" rescue => e  
Edit:
Current backtrace
 test.rb:2:in `<main>': foo (RuntimeError) 
what i want (or similar)
 test.rb:10:in `bar': foo (RuntimeError) from test.rb:13:in `<main>' 
source share