Method: Gloo::App::Engine#process_cmd
- Defined in:
- lib/gloo/app/engine.rb
#process_cmd(cmd = nil) ⇒ Object
Process the command.
193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/gloo/app/engine.rb', line 193 def process_cmd cmd=nil @last_cmd = cmd if cmd if last_cmd_blank? @platform.clear_screen return end begin @parser.run @last_cmd rescue => e err e. end end |