class Sequel::SQL::DelayedEvaluation

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

Represents a delayed evaluation, encapsulating a callable object which returns the value to use when called.

Methods

Public Class

  1. new

Public Instance

  1. callable

Attributes

callable [R]

A callable object that returns the value of the evaluation when called.

Public Class methods

new (callable)

Set the callable object

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