Module: GTA::Sh
Instance Method Summary collapse
Instance Method Details
#commander(command = nil) ⇒ Object
11 12 13 |
# File 'lib/gta/sh.rb', line 11 def commander(command=nil) Commander.new(command) end |
#sh(command) ⇒ Object
3 4 5 |
# File 'lib/gta/sh.rb', line 3 def sh(command) commander(command).perform end |
#sh!(command) ⇒ Object
7 8 9 |
# File 'lib/gta/sh.rb', line 7 def sh!(command) commander(command).perform! end |