diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-07 11:36:20 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-07 11:36:20 +0000 |
commit | c7fa0c727c8342717d2c75c1c5750a54df461eae (patch) | |
tree | 418093a0a9aedf90397204d97730cffb9b95df07 /lib/irb.rb | |
parent | 649237de8f9e1c784493f4a8f29178ac0e969237 (diff) |
* 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
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 8 |
1 files changed, 2 insertions, 6 deletions
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([email protected]) # @@ -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 |