Module: Arel::Predications

Included in:
Nodes::InfixOperation, Nodes::NamedFunction
Defined in:
lib/ransack/adapters/active_record/3.0/compat.rb

Instance Method Summary collapse

Instance Method Details

#as(other) ⇒ Object



161
162
163
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 161

def as other
  Nodes::As.new self, Nodes::SqlLiteral.new(other)
end