Class: SQLParser::Statement::Between
- Defined in:
- lib/sql-parser/statement.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#max ⇒ Object
readonly
Returns the value of attribute max.
-
#min ⇒ Object
readonly
Returns the value of attribute min.
Instance Method Summary collapse
-
#initialize(left, min, max) ⇒ Between
constructor
A new instance of Between.
Methods inherited from Node
Constructor Details
#initialize(left, min, max) ⇒ Between
Returns a new instance of Between.
260 261 262 263 264 |
# File 'lib/sql-parser/statement.rb', line 260 def initialize(left, min, max) @left = left @min = min @max = max end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
266 267 268 |
# File 'lib/sql-parser/statement.rb', line 266 def left @left end |
#max ⇒ Object (readonly)
Returns the value of attribute max.
268 269 270 |
# File 'lib/sql-parser/statement.rb', line 268 def max @max end |
#min ⇒ Object (readonly)
Returns the value of attribute min.
267 268 269 |
# File 'lib/sql-parser/statement.rb', line 267 def min @min end |