Class: Vanguard::Matcher::Binary

Inherits:
Vanguard::Matcher show all
Includes:
AbstractType
Defined in:
lib/vanguard/matcher/binary.rb,
lib/vanguard/matcher/binary/or.rb,
lib/vanguard/matcher/binary/and.rb,
lib/vanguard/matcher/binary/xor.rb

Overview

Abstract base class for binary matcher

Direct Known Subclasses

AND, OR, XOR

Defined Under Namespace

Classes: AND, OR, XOR

Instance Attribute Summary collapse

Method Summary

Methods inherited from Vanguard::Matcher

#matches?

Instance Attribute Details

#leftMatcher (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return left

Returns:



13
14
15
# File 'lib/vanguard/matcher/binary.rb', line 13

def left
  @left
end

#rightMatcher (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return right

Returns:



21
22
23
# File 'lib/vanguard/matcher/binary.rb', line 21

def right
  @right
end