Module: Axiom::Function::Predicate::Equality::Methods

Included in:
Attribute::Object
Defined in:
lib/axiom/function/predicate/equality.rb

Instance Method Summary collapse

Instance Method Details

#eq(other) ⇒ Equality

Compare the left to see if it is equal to the right

Examples:

equality = expression.eq(other)

Parameters:

Returns:



59
60
61
# File 'lib/axiom/function/predicate/equality.rb', line 59

def eq(other)
  Equality.new(self, other)
end