1
0
Fork 0
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:
ryan 2006-07-18 18:28:16 +00:00
parent 553bba0b47
commit 491d4412a8

View file

@ -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)