Class: Chake::Backend::Local

Inherits:
Backend
  • Object
show all
Defined in:
lib/chake/backend/local.rb

Instance Method Summary collapse

Instance Method Details

#command_runnerObject



9
10
11
# File 'lib/chake/backend/local.rb', line 9

def command_runner
  ['sh', '-c']
end

#skip?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/chake/backend/local.rb', line 13

def skip?
  node.hostname != Socket.gethostname
end