def execute(f) f.call "test response" end perform = TOPLEVEL_BINDING.method(:execute) perform.call Kernel.method(:puts)