Class: ArelExtensions::Nodes::Blank

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) ⇒ Blank

Returns a new instance of Blank.



9
10
11
# File 'lib/arel_extensions/nodes/blank.rb', line 9

def initialize expr
  super expr.first
end