Class: Rosette::Core::PathMatcherFactory

Inherits:
Object
  • Object
show all
Includes:
NodeFactory
Defined in:
lib/rosette/core/path_matcher_factory.rb

Overview

Constructs condition trees for path matchers.

See Also:

Defined Under Namespace

Modules: NodeFactory, NodeOperatorFactory Classes: AndNode, BinaryNode, FileExtensionNode, Node, NotNode, OrNode, PathNode, RegexNode, UnaryNode

Class Method Summary collapse

Methods included from NodeFactory

#match_file_extension, #match_file_extensions, #match_path, #match_paths, #match_regex, #match_regexes

Class Method Details

.create_rootNode

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