Class: Chef::Fork::Commands::Ssh
- Defined in:
- lib/chef/fork/commands/ssh.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Noop
Constructor Details
This class inherits a constructor from Chef::Fork::Commands::Noop
Instance Method Details
#run(args = []) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/chef/fork/commands/ssh.rb', line 12 def run(args=[]) rest = order_args(args) rest = rest.dup if hostname = rest.shift ssh(hostname, rest) end end |