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


174
175
176
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 174

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