Class: Liquid2::Ge
- Inherits:
-
ComparisonExpression
- Object
- Expression
- ComparisonExpression
- Liquid2::Ge
- Defined in:
- lib/liquid2/expressions/relational.rb
Overview
Infix >=
Instance Attribute Summary
Attributes inherited from Expression
Instance Method Summary collapse
Methods inherited from ComparisonExpression
Methods inherited from Expression
#children, #initialize, #scope
Constructor Details
This class inherits a constructor from Liquid2::ComparisonExpression
Instance Method Details
#evaluate(context) ⇒ Object
54 55 56 57 |
# File 'lib/liquid2/expressions/relational.rb', line 54 def evaluate(context) left, right = inner_evaluate(context) Liquid2.eq?(left, right) || Liquid2.lt?(right, left) end |