Class: CQL::TagCountFilter

Inherits:
TypeCountFilter show all
Defined in:
lib/cql/filters.rb

Overview

Not a part of the public API. Subject to change at any time.

Instance Attribute Summary

Attributes inherited from TypeCountFilter

#comparison, #types

Instance Method Summary collapse

Methods inherited from TypeCountFilter

#execute, #initialize

Constructor Details

This class inherits a constructor from CQL::TypeCountFilter

Instance Method Details

#type_count(test) ⇒ Object

Counts the numbers of tags on a test



101
102
103
# File 'lib/cql/filters.rb', line 101

def type_count(test)
  test.tags.size
end