summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 18:28:16 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 18:28:16 +0000
commit694c996f8cf7c653692e8df7ae70437e24889ba4 (patch)
tree0a21b177e6741e8a937bf0a6eebca062f49aec42
parent674b565568733eb6b797ea5846321cf7952b2d0a (diff)
downloadruby-694c996f8cf7c653692e8df7ae70437e24889ba4.tar.gz
ruby-694c996f8cf7c653692e8df7ae70437e24889ba4.tar.xz
ruby-694c996f8cf7c653692e8df7ae70437e24889ba4.zip
patch was misapplied. fixed. sorry
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/irb/completion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
index ac227fee9..6211817f2 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)