diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 02:27:56 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 02:27:56 +0000 |
commit | 87025fdd4345f48821236ff19090976bfc11a2bd (patch) | |
tree | 3f70b2c935c7b86d4111cd6c7e4310ea4a550eea /lib/irb | |
parent | 0c25b62505c64973876e6281193ea6141d396564 (diff) |
* marshal.c (w_object): dump extended modules as well.
* marshal.c (r_object0): TYPE_USRMARSHAL should restore extended
modules before invoking marshal_load. these two fixes are done
by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>.
* parse.y (yylex): argument parentheses preceded by spaces should
be warned; not error. [ruby-talk:84103]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb index f4d0d98289..9421608f85 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -58,7 +58,7 @@ module IRB case input_method when nil - if (defined? (ReadlineInputMethod) && + if (defined?(ReadlineInputMethod) && (use_readline? || IRB.conf[:PROMPT_MODE] != :INF_RUBY && STDIN.tty?)) @io = ReadlineInputMethod.new else |