Guest User

Untitled

a guest
Oct 14th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.11 KB | None | 0 0
  1. cmd = gets
  2. while (cmd != "exit") do
  3.     begin
  4.         s.parse_line(cmd)
  5.     rescue CommandError    
  6.         next
  7.     end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment