From c7fa0c727c8342717d2c75c1c5750a54df461eae Mon Sep 17 00:00:00 2001 From: keiju Date: Tue, 7 Jul 2009 11:36:20 +0000 Subject: * bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-mode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/irb.rb') diff --git a/lib/irb.rb b/lib/irb.rb index 119e1a45d8..17d4ae51bd 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -1,6 +1,6 @@ # # irb.rb - irb main module -# $Release Version: 0.9.5 $ +# $Release Version: 0.9.6 $ # $Revision$ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # @@ -298,11 +298,7 @@ module IRB end def output_value - if @context.inspect? - printf @context.return_format, @context.last_value.inspect - else - printf @context.return_format, @context.last_value - end + printf @context.return_format, @context.inspect_last_value end def inspect -- cgit v1.2.3