mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
36dbbb1b6a
commit
58e53cddef
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Dec 24 23:49:16 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* lib/irb/completion.rb: Use Object#class rather than Object#type.
|
||||
|
||||
Tue Dec 24 23:37:40 2002 TADA Tadashi <sho@spc.gr.jp>
|
||||
|
||||
* lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue