* 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
@ -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>
|
Wed Dec 26 23:26:15 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
* lib/irb/context.rb: IRB::Context#use_readline= has been obsolete
|
* 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
|
# Determines the inspector to use where +inspector+ is one of the keys passed
|
||||||
# during inspector definition.
|
# during inspector definition.
|
||||||
def self.keys_with_inspector(inspector)
|
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
|
end
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user