Class: Rosette::Core::PathMatcherFactory::Node
- Inherits:
-
Object
- Object
- Rosette::Core::PathMatcherFactory::Node
- Includes:
- NodeFactory, NodeOperatorFactory
- Defined in:
- lib/rosette/core/path_matcher_factory.rb
Overview
The base class for all condition nodes.
Direct Known Subclasses
BinaryNode, FileExtensionNode, PathNode, RegexNode, UnaryNode
Instance Method Summary collapse
-
#matches?(path) ⇒ Boolean
Determines if the given path matches the conditions defined by this node and it’s children.
Methods included from NodeOperatorFactory
Methods included from NodeFactory
#match_file_extension, #match_file_extensions, #match_path, #match_paths, #match_regex, #match_regexes
Instance Method Details
#matches?(path) ⇒ Boolean
Determines if the given path matches the conditions defined by this node and it’s children.
133 134 135 |
# File 'lib/rosette/core/path_matcher_factory.rb', line 133 def matches?(path) false end |