abstract class Spectator::NodeFilter

Overview

Base class for all node filters. Checks whether a node should be included in the test run. Sub-classes must implement the #includes? method.

Direct Known Subclasses

Defined in:

spectator/node_filter.cr

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Instance Method Detail

def ===(node) #

Checks if a node is in the filter, and should be included in the test run.


[View source]
abstract def includes?(node) : Bool #

Checks if a node is in the filter, and should be included in the test run.


[View source]