class Spectator::NullNodeFilter
Overview
Filter that matches all nodes.
Defined in:
spectator/null_node_filter.crConstructors
-
.new(match : Bool = true)
Creates the filter.
Instance Method Summary
-
#includes?(node) : Bool
Checks whether the node satisfies the filter.
Instance methods inherited from class Spectator::NodeFilter
===(node)
===,
includes?(node) : Bool
includes?
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
Constructor Detail
def self.new(match : Bool = true)
#
Creates the filter. The match flag indicates whether all examples should match or not.