On Dec 1, 2007, at 06:32 , Rocky Bernstein wrote:

>  Ideally what I'd like in 1.9, 1.9.1 or 2.0:
>   * Frame/Block objects which contains
>     - line, (may be nil)
>     - method, # of args  (may be nil)
>     - access to a binding object which we can eval for access to  
> that scope (not nil)
>     My understanding is this information is around at run time.
>
>   * Thread Object which gives access to the Frame/Block above. So  
> access to the Frame object could be via a something like  
> thread.caller(level-number).
>
>   * Enough added to the C-API added (e.g. parts of vm_core.h) to be  
> able to write code to do the above.

You might want to look at rubinius.