Sha256: 51c42093a710173902bf8dbb210867753a582f812f06f29724b8f9e5bb60fcc4

Contents?: true

Size: 251 Bytes

Versions: 4

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

module Leftovers
  module MatcherBuilders
    module NodePath
      def self.build(path_pattern)
        matcher = Path.build(path_pattern)

        Matchers::NodePath.new(matcher) if matcher
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
leftovers-0.12.2 lib/leftovers/matcher_builders/node_path.rb
leftovers-0.12.1 lib/leftovers/matcher_builders/node_path.rb
leftovers-0.12.0 lib/leftovers/matcher_builders/node_path.rb
leftovers-0.11.2 lib/leftovers/matcher_builders/node_path.rb