class Sequel::SQL::Constant

Represents constants or psuedo-constants (e.g. CURRENT_DATE) in SQL.

Attributes

constant[R]

The underlying constant related to this object.

Public Class Methods

new(constant) click to toggle source

Create an constant with the given value

# File lib/sequel/sql.rb, line 1038
def initialize(constant)
  @constant = constant
end