Method: Vx::Lib::Shell#sh

Defined in:
lib/vx/lib/shell.rb

#sh(*args) ⇒ Object



31
32
33
34
35
36
37
38
39
# File 'lib/vx/lib/shell.rb', line 31

def sh(*args)
  case args.first
  when :ssh
    args.shift
    Shell::SSH.new(*args)
  else
    Shell::Process.new
  end
end