Class: AEMReference::Test

Inherits:
Query
  • Object
show all
Defined in:
lib/_aem/aemreference.rb

Overview

Base class

Direct Known Subclasses

ComparisonTest, LogicalTest

Instance Method Summary collapse

Methods inherited from Query

#==, #AEM_comparable, #hash, #initialize, #inspect

Constructor Details

This class inherits a constructor from AEMReference::Query

Instance Method Details

#and(operand2, *operands) ⇒ Object

Logical tests



764
765
766
# File 'lib/_aem/aemreference.rb', line 764

def and(operand2, *operands)
  return AND.new([self, operand2] + operands)
end

#notObject



772
773
774
# File 'lib/_aem/aemreference.rb', line 772

def not
  return NOT.new([self])
end

#or(operand2, *operands) ⇒ Object



768
769
770
# File 'lib/_aem/aemreference.rb', line 768

def or(operand2, * operands)
  return OR.new([self, operand2] + operands)
end