Class: ArelExtensions::Nodes::NotBlank

Inherits:
Arel::Nodes::Unary
  • Object
show all
Includes:
BooleanFunctions
Defined in:
lib/arel_extensions/nodes/blank.rb

Constant Summary collapse

RETURN_TYPE =
:boolean

Instance Method Summary collapse

Methods included from BooleanFunctions

#and, #or, #then, #⋀, #⋁

Constructor Details

#initialize(expr) ⇒ NotBlank

Returns a new instance of NotBlank.



18
19
20
# File 'lib/arel_extensions/nodes/blank.rb', line 18

def initialize expr
    super expr.first
end