diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 14:56:57 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 14:56:57 +0000 |
commit | 8494484dc0b1901d9ba49a31c6a6b3771b8942a2 (patch) | |
tree | 7b6d2b2d5b6dde5f51726ab3a6e9754fc524e926 /lib/irb | |
parent | d565cf7b43bf2d70444e003760ca1afa4544044d (diff) | |
download | ruby-8494484dc0b1901d9ba49a31c6a6b3771b8942a2.tar.gz |
* lib/irb/context.rb: fix IRB::Inspector#keys_with_inspector [Bug #7598]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/inspector.rb b/lib/irb/inspector.rb index 121309f3c6..eaff44fc0b 100644 --- a/lib/irb/inspector.rb +++ b/lib/irb/inspector.rb @@ -51,7 +51,7 @@ module IRB # :nodoc: # Determines the inspector to use where +inspector+ is one of the keys passed # during inspector definition. def self.keys_with_inspector(inspector) - select{|k,v| v == inspector}.collect{|k, v| k} + INSPECTORS.select{|k,v| v == inspector}.collect{|k, v| k} end # Example |