Class: SQLParser::Statement::BetweenRange

Inherits:
Node
  • Object
show all
Defined in:
lib/sql-parser/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(min, max) ⇒ BetweenRange

Returns a new instance of BetweenRange.



300
301
302
303
# File 'lib/sql-parser/statement.rb', line 300

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

Instance Attribute Details

#maxObject (readonly)

Returns the value of attribute max.



306
307
308
# File 'lib/sql-parser/statement.rb', line 306

def max
  @max
end

#minObject (readonly)

Returns the value of attribute min.



305
306
307
# File 'lib/sql-parser/statement.rb', line 305

def min
  @min
end