class Object
Public Instance Methods
log_ex(e)
click to toggle source
# File lib/con_ssh/core_extensions.rb, line 16 def log_ex e STDERR.puts e.desc end
match_root_or_current_user(stat)
click to toggle source
# File lib/con_ssh/core_extensions.rb, line 20 def match_root_or_current_user stat (stat.uid == 0 and stat.gid == 0) || (stat.uid == Process.uid and stat.gid == Process.gid) end