class Test::Unit::Collector::TestDir::FileSystem::ObjectSpace
Public Class Methods
new()
click to toggle source
# File test-unit-3.3.4/test/collector/test_dir.rb, line 63 def initialize @objects = [] end
Public Instance Methods
<<(object)
click to toggle source
# File test-unit-3.3.4/test/collector/test_dir.rb, line 71 def <<(object) @objects << object end
each_object(klass, &block)
click to toggle source
# File test-unit-3.3.4/test/collector/test_dir.rb, line 67 def each_object(klass, &block) @objects.find_all{|o| o.kind_of?(klass)}.each(&block) end