summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-24 14:50:10 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-24 14:50:10 +0000
commit58e53cddef901c86dde09869a89eb2e59b9d7456 (patch)
treed8e97923c11187341cdef995be0286415be18b43 /lib/irb
parent36dbbb1b6a4a254feadf8cbbd30a02bda5c2b2d8 (diff)
* lib/irb/completion.rb: Use Object#class rather than Object#type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-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 448650e..67a0e5c 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 "self.type.constants", bind
+ cv = eval "self.class.constants", bind
if (gv | lv | cv).include?(receiver)
# foo.func and foo is local var.