Tim Pease wrote:
> Okay, that explanation makes sense. My new implementation (following 
> along with the Kernel docs)
> 
>  > cat a.rb
> obj = Object.new
> class << obj
>   attr_accessor :foo
>   def get_binding() binding; end
> end
> obj.foo = 'the foo method'
> eval "puts foo", obj.get_binding
> 
>  > ruby1.9 a.rb
> the foo method

Even better!

- Charlie