From 5b054522be861aba3d082c13c681276c32c11fa5 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 18 Jul 2009 03:20:58 +0200 Subject: fixed Action.wait_for_enter if you supply an argument to the executable and use the function gets, ruby seems to read from the file given in the first argument rather than from stdin. in this case, that's not what i want. --- code/action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/action.rb b/code/action.rb index 89ac0355..6e753296 100644 --- a/code/action.rb +++ b/code/action.rb @@ -69,7 +69,7 @@ module Action def wait_for_enter print "Press [ENTER] to continue..." - gets + $stdin.gets end end -- cgit 1.4.1-2-gfad0