bin/drby in droiuby-0.0.9 vs bin/drby in droiuby-0.0.10

- old
+ new

@@ -52,11 +52,11 @@ project = Project.new project.create(project_name,'') when 'console' puts "droiuby console" project = Project.new - while buf = Readline.readline("> ", true) + while buf = Readline.readline("droiuby > ", true) exit(1) if buf=='exit' || buf=='quit' begin while !Ripper.sexp(buf) || !valid_statement?(buf) @@ -64,9 +64,10 @@ end rescue Interrupt puts "\n" next end + next if buf.blank? res = JSON.parse(project.command(buf, $device_ip)) puts res['result'] end when 'list' project = Project.new