Permalink
Browse files

goruby.c: IRB at end

* goruby.c (goruby_options): start IRB after goruby initialized.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 4943b46 commit 1f3bf4ce550e7c5208bf214884830daff876587b @nobu nobu committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 goruby.c
View
@@ -27,7 +27,7 @@ init_golf(VALUE arg)
void *
goruby_options(int argc, char **argv)
{
- static const char cmd[] = "require 'irb'\nIRB.start";
+ static const char cmd[] = "END{require 'irb';IRB.start}";
int rw[2], infd;
void *ret;

0 comments on commit 1f3bf4c

Please sign in to comment.