Sha256: 876977b24b4a15f1a525ceb46a632afb1f8b116d4045872c5683f22eaff07691
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
class Exception def desc "#{ message } #{ backtrace&.join "\n" }" end end def log_ex e STDERR.puts e.desc end def match_root_or_current_user stat (stat.uid == 0 and stat.gid == 0) || (stat.uid == Process.uid and stat.gid == Process.gid) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sys_watchdog-0.1.20 | lib/sys_watchdog/core_extensions.rb |