File: dsl.rb

package info (click to toggle)
ruby-sshkit 1.21.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 700 kB
  • sloc: ruby: 3,522; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module SSHKit

  module DSL

    def on(hosts, options={}, &block)
      Coordinator.new(hosts).each(options, &block)
    end

    def run_locally(&block)
      Backend::Local.new(&block).run
    end

  end

end