Methods

Files

Class Index [+]

Quicksearch

Arel::Predicates::CompoundPredicate

Public Instance Methods

eval(row) click to toggle source
     # File lib/arel/algebra/predicates.rb, line 148
148:       def eval(row)
149:         eval "operand1.eval(row) #{operator} operand2.eval(row)"
150:       end
to_sql(formatter = nil) click to toggle source
     # File lib/arel/algebra/predicates.rb, line 152
152:       def to_sql(formatter = nil)
153:         "(#{operand1.to_sql(formatter)} #{predicate_sql} #{operand2.to_sql(formatter)})"
154:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.