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
2010 def initialize(value)
2011   @value = value
2012   freeze
2013 end