Sha256: 28035d0fa86c52fc764af8fa33eed06dc1d43d30c69c9dbf9b871144534962eb
Contents?: true
Size: 300 Bytes
Versions: 2
Compression:
Stored size: 300 Bytes
Contents
# frozen_string_literal: true module Leftovers module Matchers class NodePrivacy def initialize(privacy_matcher) @privacy_matcher = privacy_matcher freeze end def ===(node) @privacy_matcher === node.privacy end freeze end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
leftovers-0.8.0 | lib/leftovers/matchers/node_privacy.rb |
leftovers-0.7.0 | lib/leftovers/matchers/node_privacy.rb |