mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
patch was misapplied. fixed. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
553bba0b47
commit
491d4412a8
1 changed files with 1 additions and 1 deletions
|
@ -137,8 +137,8 @@ module IRB
|
|||
else
|
||||
# func1.func2
|
||||
candidates = []
|
||||
name = m.name rescue ""
|
||||
ObjectSpace.each_object(Module){|m|
|
||||
name = m.name rescue ""
|
||||
next if name != "IRB::Context" and
|
||||
/^(IRB|SLex|RubyLex|RubyToken)/ =~ name
|
||||
candidates.concat m.instance_methods(false)
|
||||
|
|
Loading…
Reference in a new issue