*/
@JRubyMethod
public IRubyObject to_proc(ThreadContext context, Block unusedBlock) {
Ruby runtime = context.getRuntime();
DynamicScope currentScope = context.getCurrentScope();
MethodBlock mb = new MethodBlock(this, currentScope.getStaticScope()) {
@Override
public IRubyObject callback(IRubyObject value, IRubyObject method, IRubyObject self, Block block) {
return bmcall(value, method, self, block);
}
};