I have been contemplating creating a patch which would make the output
of an uncaught exception contain the one line of code that raised it
[by reading the source file and outputting that line]:

ex:

go.rb:
def go
 raise 'unhandled'
end
def go2
 go
end
go2


currently:

$ ruby go.rb
go.rb:2:in `go': unhandled (RuntimeError)
        from go.rb:6:in `go2'
        from go.rb:9

to become

$ ruby go.rb
go.rb:2:in `go': unhandled (RuntimeError)
           raise 'unhandled'
        from go.rb:6:in `go2'
        from go.rb:9

I think it would be possible in certain cases.
Thoughts?
Thanks!
-=R