Parent

Methods

Class/Module Index [+]

Quicksearch

Object

Public Instance Methods

blank?() click to toggle source

Objects are blank if they respond true to empty?

# File lib/sequel/extensions/blank.rb, line 12
def blank?
  respond_to?(:empty?) && empty?
end
sql_expr() click to toggle source

Return a copy of the object wrapped in a Sequel::SQL::GenericComplexExpression. Allows easy use of the Object with Sequel’s DSL. You’ll probably have to make sure that Sequel knows how to literalize the object properly, though.

# File lib/sequel/extensions/sql_expr.rb, line 41
def sql_expr
  Sequel::SQL::GenericComplexExpression.new(:NOOP, self)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.