rubinius/rubinius — pull request #1321 by oriolgual (2011-10-21 09:35:38+00:00)
Title: Make instance_exec work with Method objects

To make this happen, we need to make Proc::Method (which is what the Object#method returns) to behave a bit more like a normal Proc.

The only thing that is missing is a block environment. But since methods, unlike Procs, don't need to take into account its block environment, we make one up for instance_exec to work properly.