mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d565cf7b43
commit
8494484dc0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Dec 26 23:55:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/context.rb: fix IRB::Inspector#keys_with_inspector [Bug #7598]
|
||||
|
||||
Wed Dec 26 23:26:15 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/context.rb: IRB::Context#use_readline= has been obsolete
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue