Class: Dentaku::AST::LessThanOrEqual
- Inherits:
-
Comparator
- Object
- Node
- Operation
- Comparator
- Dentaku::AST::LessThanOrEqual
- Defined in:
- lib/dentaku/ast/comparators.rb
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
Methods inherited from Comparator
Methods inherited from Operation
#dependencies, #initialize, right_associative?
Methods inherited from Node
arity, #dependencies, precedence
Constructor Details
This class inherits a constructor from Dentaku::AST::Operation
Instance Method Details
#value(context = {}) ⇒ Object
22 23 24 |
# File 'lib/dentaku/ast/comparators.rb', line 22 def value(context={}) left.value(context) <= right.value(context) end |