diff options
author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-18 18:28:16 +0000 |
---|---|---|
committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-18 18:28:16 +0000 |
commit | 491d4412a804e04e3ac41398213af7f023283a97 (patch) | |
tree | 0a21b177e6741e8a937bf0a6eebca062f49aec42 /lib/irb | |
parent | 553bba0b4734f2fbf4ccf09523ba1c91d5659ad6 (diff) | |
download | ruby-491d4412a804e04e3ac41398213af7f023283a97.tar.gz |
patch was misapplied. fixed. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/completion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index ac227fee90..6211817f29 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -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) |