Class: SQLParser::Statement::Arithmetic
- Defined in:
- lib/sql-parser/statement.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Arithmetic
constructor
A new instance of Arithmetic.
Methods inherited from Node
Constructor Details
#initialize(left, right) ⇒ Arithmetic
Returns a new instance of Arithmetic.
473 474 475 476 |
# File 'lib/sql-parser/statement.rb', line 473 def initialize(left, right) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
478 479 480 |
# File 'lib/sql-parser/statement.rb', line 478 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
479 480 481 |
# File 'lib/sql-parser/statement.rb', line 479 def right @right end |