summaryrefslogtreecommitdiff
path: root/goruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 06:34:56 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 06:34:56 (GMT)
commit1f3bf4ce550e7c5208bf214884830daff876587b (patch)
tree3b76bfe29ecdf8beeedbdcdcfbfedba2034402a4 /goruby.c
parent4943b46ae7ce04ec8faae014040cc487a35bf149 (diff)
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
Diffstat (limited to 'goruby.c')
-rw-r--r--goruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/goruby.c b/goruby.c
index 310f236..6095fc0 100644
--- a/goruby.c
+++ b/goruby.c
@@ -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;