lib/gondler/cli.rb in gondler-0.1.0 vs lib/gondler/cli.rb in gondler-0.1.1

- old
+ new

@@ -59,10 +59,15 @@ end end desc 'repl', 'REPL in the context of Gondler' def repl - Kernel.system(buf) while buf = Readline.readline('> ', true) + buf = Readline.readline('> ', true) + while buf + Kernel.system(buf) + + buf = Readline.readline('> ', true) + end end desc 'version', 'Print Gondler version' def version puts Gondler::VERSION