Module: Alx::Executer

Included in:
Editor, Viewer
Defined in:
lib/alx/executer.rb

Instance Method Summary collapse

Instance Method Details

#start(cmd) ⇒ Object



5
6
7
8
# File 'lib/alx/executer.rb', line 5

def start( cmd )
  return true if system( "#{cmd}" )
  raise "Command: #{cmd} failed."
end