class Spectator::LocationNodeFilter


Filter that matches nodes in a given file and line.

Defined in:



Instance Method Summary

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 : Location) #

Creates the filter. The location indicates which file and line the node must contain.

[View source]

Instance Method Detail

def includes?(node) : Bool #

Checks whether the node satisfies the filter.

[View source]