class Sequel::SQL::Constant

  1. lib/sequel/sql.rb
Parent: SQL

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

Methods

Public Class

  1. new

Public Instance

  1. constant

Attributes

constant [R]

The underlying constant related to this object.

Public Class methods

new (constant)

Create an constant with the given value

[show source]
# File lib/sequel/sql.rb, line 1148
def initialize(constant)
  @constant = constant
end