module Leftovers::MatcherBuilders::NodePath
Public Class Methods
build(path_pattern)
click to toggle source
# File lib/leftovers/matcher_builders/node_path.rb, line 6 def self.build(path_pattern) matcher = ::Leftovers::MatcherBuilders::Path.build(path_pattern) return unless matcher ::Leftovers::Matchers::NodePath.new(matcher) end