class Chake::Connection::Local

Public Instance Methods

command_runner() click to toggle source
# File lib/chake/connection/local.rb, line 6
def command_runner
  ['sh', '-c']
end
shell_command() click to toggle source
# File lib/chake/connection/local.rb, line 10
def shell_command
  ENV.fetch('SHELL', Etc.getpwuid.shell)
end
skip?() click to toggle source
# File lib/chake/connection/local.rb, line 14
def skip?
  node.hostname != Socket.gethostname
end