Class: Rosette::Core::PathMatcherFactory
- Inherits:
-
Object
- Object
- Rosette::Core::PathMatcherFactory
- Includes:
- NodeFactory
- Defined in:
- lib/rosette/core/path_matcher_factory.rb
Overview
Constructs condition trees for path matchers.
Defined Under Namespace
Modules: NodeFactory, NodeOperatorFactory Classes: AndNode, BinaryNode, FileExtensionNode, Node, NotNode, OrNode, PathNode, RegexNode, UnaryNode
Class Method Summary collapse
-
.create_root ⇒ Node
Creates a new empty node that can be used as the root of a conditions tree.
Methods included from NodeFactory
#match_file_extension, #match_file_extensions, #match_path, #match_paths, #match_regex, #match_regexes
Class Method Details
.create_root ⇒ Node
Creates a new empty node that can be used as the root of a conditions tree.
13 14 15 |
# File 'lib/rosette/core/path_matcher_factory.rb', line 13 def self.create_root Node.new end |