class Sequel::SQL::Wrapper

  1. lib/sequel/sql.rb
Superclass: GenericExpression

A Wrapper is a simple way to wrap an existing object so that it supports the Sequel DSL.

Methods

Public Class

  1. new

Public Instance

  1. value

Attributes

value [R]

The underlying value wrapped by this object.

Public Class methods

new(value)

Set the value wrapped by the object.

[show source]
     # File lib/sequel/sql.rb
2007 def initialize(value)
2008   @value = value
2009   freeze
2010 end