From e274c3ab76ca95dd089b6ef467700b4a0576dfad Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 24 Dec 2002 08:02:00 +0000 Subject: * class.c (ins_methods_i): should not show ID_ALLOCATOR. * class.c (ins_methods_prot_i): ditto. * class.c (ins_methods_priv_i): ditto. * class.c (ins_methods_pub_i): ditto. * eval.c (call_trace_func): ditto. * eval.c (rb_undefined): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/completion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb') diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 30d60c2449..448650e8ed 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -122,7 +122,7 @@ module IRB gv = eval "global_variables", bind lv = eval "local_variables", bind - cv = eval "type.constants", bind + cv = eval "self.type.constants", bind if (gv | lv | cv).include?(receiver) # foo.func and foo is local var. -- cgit v1.2.3