diff --git a/ChangeLog b/ChangeLog index 8d671d556e..d8cd7ecc8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 9 10:12:13 2009 NARUSE, Yui + + * lib/irb/context.rb (IRB::Context#initialize): + remove warnings when $VERBOSE is set as true in .irbrc. + Fri Oct 9 02:58:18 2009 NARUSE, Yui * tool/enc-unicode.rb: optimized. diff --git a/lib/irb/context.rb b/lib/irb/context.rb index a2778f76ab..d7822d6f27 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -35,6 +35,8 @@ module IRB @load_modules = IRB.conf[:LOAD_MODULES] @use_readline = IRB.conf[:USE_READLINE] + @verbose = IRB.conf[:VERBOSE] + @io = nil self.inspect_mode = IRB.conf[:INSPECT_MODE] self.math_mode = IRB.conf[:MATH_MODE] if IRB.conf[:MATH_MODE] @@ -91,7 +93,6 @@ module IRB @output_method = StdioOutputMethod.new end - @verbose = IRB.conf[:VERBOSE] @echo = IRB.conf[:ECHO] if @echo.nil? @echo = true