From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2002-11-16T18:05:23+09:00 Subject: Proc#binding ? Just a thinking out loud here, I have no pressing need for this, but... We've got Kernel#binding which returns the Binding object of the current execution context. It would seem that Proc objects also have bindings as well, but there is no Proc#binding method that allows us to access them. Should there be? Actually, come to think of it, for this to be useful there would probably have be some methods in the Binding class - methods that would return lists of classes, variables and methods defined in a particular binding, for example. Maybe even comparison operators to check if two bindings are equivilent, etc... perhaps even the ability to serialize a binding (which could lead to serializing Proc's too, I suppose) which of course probably leads to a slippery slope... Phil