class Spectator::LineExampleFilter

Overview

Filter that matches examples on a given line.

Defined in:

spectator/line_example_filter.cr

Constructors

Instance Method Summary

Instance methods inherited from class Spectator::ExampleFilter

includes?(example : Example) : Bool includes?

Instance methods inherited from class Object

should(matcher) should, should_eventually(matcher) should_eventually, should_never(matcher) should_never, should_not(matcher) should_not

Constructor Detail

def self.new(line : Int32) #

Creates the example filter.


[View source]

Instance Method Detail

def includes?(example) : Bool #

Checks whether the example satisfies the filter.


[View source]