pseudo_toplevel_evaluable?()
Instance Public methods
def pseudo_toplevel_eval(body = Proc.new)
Thread.current[:TOPLEVEL] = self begin body.call ensure Thread.current[:TOPLEVEL] = nil end
end
def pseudo_toplevel_eval(body = Proc.new)
Thread.current[:TOPLEVEL] = self begin body.call ensure Thread.current[:TOPLEVEL] = nil end
end
Please login to continue.