class Object

  1. lib/sequel/extensions/blank.rb
  2. lib/sequel/extensions/sql_expr.rb
  3. show all
Superclass: BasicObject

Methods

Public Instance

  1. blank?
  2. sql_expr

Public Instance methods

blank?()

Objects are blank if they respond true to empty?

[show source]
   # File lib/sequel/extensions/blank.rb
26 def blank?
27   respond_to?(:empty?) && empty?
28 end
sql_expr()

Return the object wrapper in an appropriate Sequel expression object.

[show source]
   # File lib/sequel/extensions/sql_expr.rb
20 def sql_expr
21   Sequel[self]
22 end