Sha256: 65be48ed70d501d5e147c317e8e2f205598ca6fe3f0ff06e73cfe870b340c029

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

module Vanguard
  class Matcher
    class Binary
      # Boolean and connector
      class AND < self
        # Test if value matches left and right
        #
        # @return [true]
        #
        # @return [false]
        #
        # @api private
        #
        def matches?(value)
          left_matches?(value) && right_matches?(value)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vanguard-0.0.5 lib/vanguard/matcher/binary/and.rb
vanguard-0.0.4 lib/vanguard/matcher/binary/and.rb
vanguard-0.0.3 lib/vanguard/matcher/binary/and.rb