Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Exit on EOF, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewd committed Apr 21, 2008
1 parent d86c757 commit 00eb07a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,8 +6,10 @@
/ext/spidermonkey/*.log
/ext/spidermonkey/immutable_node.c
/ext/spidermonkey/*.o
/ext/spidermonkey/*.so

/lib/johnson/*.bundle
/lib/johnson/*.so

/vendor/spidermonkey/*.OBJ

Expand Down
2 changes: 1 addition & 1 deletion bin/johnson
Expand Up @@ -12,7 +12,7 @@ require "readline"
CONTEXT = cx = Johnson::Context.new
CONTEXT[:alert] = lambda { |m| puts m }

EXIT_VERBS = %w(exit quit)
EXIT_VERBS = [nil] + %w(exit quit)

local_binding = binding
ruby_readline = []
Expand Down

0 comments on commit 00eb07a

Please sign in to comment.