Sha256: 513695480fb43d98fd394248411982a19ad45f9e4e8286799a84cb73209ef6e1
Contents?: true
Size: 408 Bytes
Versions: 10
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true module Leftovers module Matchers class NodePath # :nocov: using ::Leftovers::Backports::SetCaseEq if defined?(::Leftovers::Backports::SetCaseEq) # :nocov: def initialize(path_matcher) @path_matcher = path_matcher freeze end def ===(node) @path_matcher === node.path end freeze end end end
Version data entries
10 entries across 10 versions & 1 rubygems