Module: Gap::SudoRun

Defined in:
lib/gap/sudo_run.rb

Instance Method Summary collapse

Instance Method Details

#sudo_run(command) ⇒ Object



3
4
5
# File 'lib/gap/sudo_run.rb', line 3

def sudo_run command
  run command.gsub(/sudo/,sudo)
end