Parent

Methods

Class/Module Index [+]

Quicksearch

FalseClass

The blank extension adds the blank? method to all objects (e.g. Object#blank?).

Public Instance Methods

blank?() click to toggle source

false is always blank

# File lib/sequel/extensions/blank.rb, line 5
def blank?
  true
end
sql_expr() click to toggle source

Returns a copy of the object wrapped in a Sequel::SQL::BooleanExpression, allowing easy use of Sequel's DSL:

false.sql_expr & :a  # FALSE AND a
# File lib/sequel/extensions/sql_expr.rb, line 52
def sql_expr
  Sequel::SQL::BooleanExpression.new(:NOOP, self)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.