method

include?

ruby latest stable - Class: Test::Unit::Collector

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

include?(test)
public

No documentation available.

# File lib/test/unit/collector.rb, line 23
      def include?(test)
        return true if(@filters.empty?)
        @filters.each do |filter|
          result = filter[test]
          if(result.nil?)
            next
          elsif(!result)
            return false
          else
            return true
          end
        end
        true
      end