1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-12-23 06:34:56 +00:00
parent 4943b46ae7
commit 1f3bf4ce55

View file

@ -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;