Class: Vanguard::Matcher::Unary

Inherits:
Vanguard::Matcher show all
Includes:
AbstractType
Defined in:
lib/vanguard/matcher/unary.rb,
lib/vanguard/matcher/unary/not.rb,
lib/vanguard/matcher/unary/attribute.rb

Overview

Abstract base class for unary matchers

Direct Known Subclasses

Attribute, NOT

Defined Under Namespace

Classes: Attribute, NOT

Instance Attribute Summary collapse

Method Summary

Methods inherited from Vanguard::Matcher

#matches?

Instance Attribute Details

#operandMatcher (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 operand

Returns:



14
15
16
# File 'lib/vanguard/matcher/unary.rb', line 14

def operand
  @operand
end