Class: Locomotive::RelationalAlgebra::LessThan
- Inherits:
-
Comparison
- Object
- RelAlgAstNode
- Operator
- Unary
- Comparison
- Locomotive::RelationalAlgebra::LessThan
- Defined in:
- lib/locomotive/relational_algebra/operators/comparisons/less.rb
Instance Attribute Summary
Attributes inherited from Comparison
Attributes inherited from Operator
Attributes included from AstHelpers::AstNode
#kind, #left_child, #owner, #right_child, #value
Instance Method Summary collapse
-
#initialize(op, res, items) ⇒ LessThan
constructor
A new instance of LessThan.
- #xml_kind ⇒ Object
Methods inherited from Comparison
#child=, #clone, #set, #xml_content
Methods inherited from Operator
#bound, #free, #to_xml, #xml_content, #xml_schema
Methods included from XML
Methods included from AstHelpers::Annotations
Methods included from AstHelpers::AstNode
#has_left_child?, #has_right_child?, #is_leaf?, #traverse, #traverse_strategy=
Constructor Details
#initialize(op, res, items) ⇒ LessThan
Returns a new instance of LessThan.
7 8 9 10 11 12 |
# File 'lib/locomotive/relational_algebra/operators/comparisons/less.rb', line 7 def initialize(op, res, items) super(op, res, items) change = self.item2 self.item2 = self.item1 self.item1 = change end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Locomotive::AstHelpers::Annotations
Instance Method Details
#xml_kind ⇒ Object
14 15 16 |
# File 'lib/locomotive/relational_algebra/operators/comparisons/less.rb', line 14 def xml_kind :gt end |