module SSHKit::DSL

Public Instance Methods

on(hosts, options={}, &block) click to toggle source
# File lib/sshkit/dsl.rb, line 5
def on(hosts, options={}, &block)
  Coordinator.new(hosts).each(options, &block)
end
run_locally(&block) click to toggle source
# File lib/sshkit/dsl.rb, line 9
def run_locally(&block)
  Backend::Local.new(&block).run
end