module Resqued
Constants
- START_CTX
- VERSION
Public Class Methods
capture_start_ctx!()
click to toggle source
# File lib/resqued.rb, line 7 def self.capture_start_ctx! START_CTX["$0"] = $0.dup START_CTX["pwd"] = begin env_pwd = ENV["PWD"] env_pwd_stat = File.stat env_pwd dir_pwd_stat = File.stat Dir.pwd if env_pwd_stat.ino == dir_pwd_stat.ino && env_pwd_stat.dev == dir_pwd_stat.dev env_pwd else Dir.pwd end rescue Dir.pwd end end