Class: Arel::Predicates::Match
- Defined in:
- lib/arel/algebra/predicates.rb
Instance Attribute Summary
Attributes inherited from Binary
Attributes inherited from Unary
Instance Method Summary collapse
Methods inherited from Binary
#==, #bind, #eval, #initialize, #to_sql
Methods inherited from Unary
#==, #bind, #eval, #initialize, #to_sql
Methods inherited from Predicate
Constructor Details
This class inherits a constructor from Arel::Predicates::Binary
Instance Method Details
#complement ⇒ Object
251 252 253 |
# File 'lib/arel/algebra/predicates.rb', line 251 def complement NotMatch.new(operand1, operand2) end |
#operator ⇒ Object
255 |
# File 'lib/arel/algebra/predicates.rb', line 255 def operator; :=~ end |
#predicate_sql ⇒ Object
257 |
# File 'lib/arel/algebra/predicates.rb', line 257 def predicate_sql; 'LIKE' end |