Class: SQLParser::Statement::Between

Inherits:
Node
  • Object
show all
Defined in:
lib/rossoc/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(left, min, max) ⇒ Between

Returns a new instance of Between.



252
253
254
255
256
# File 'lib/rossoc/statement.rb', line 252

def initialize(left, min, max)
  @left = left
  @min = min
  @max = max
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



258
259
260
# File 'lib/rossoc/statement.rb', line 258

def left
  @left
end

#maxObject (readonly)

Returns the value of attribute max.



258
259
260
# File 'lib/rossoc/statement.rb', line 258

def max
  @max
end

#minObject (readonly)

Returns the value of attribute min.



258
259
260
# File 'lib/rossoc/statement.rb', line 258

def min
  @min
end