From ccf99b9ce600ceb1f0360db7af4164a916f03882 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 17 Feb 2006 08:40:52 +0000 Subject: * eval.c (ev_const_get): simplified using rb_const_get_fallback(). * eval.c (ev_const_defined): adopt to ev_const_get() using rb_const_defined_fallback(). * variable.c (rb_const_get_fallback): new function to implement constant search. * variable.c (rb_const_defined_fallback): new function to implement constant definition check. * variable.c (rb_const_get_0): adopt to new behavior. constants are looked up in the order of: current class, super classes (but Object), lexically external classes/modules, and Object. * variable.c (rb_const_defined_0): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit/collector/objectspace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/test') diff --git a/lib/test/unit/collector/objectspace.rb b/lib/test/unit/collector/objectspace.rb index d1127a981f..a0f837e33e 100644 --- a/lib/test/unit/collector/objectspace.rb +++ b/lib/test/unit/collector/objectspace.rb @@ -8,7 +8,7 @@ module Test module Unit module Collector class ObjectSpace - include Collector + include Test::Unit::Collector NAME = 'collected from the ObjectSpace' -- cgit v1.2.3