Class: Montage::Operators::Like
- Inherits:
-
Object
- Object
- Montage::Operators::Like
- Defined in:
- lib/montage/operators/like.rb
Class Method Summary collapse
Class Method Details
.==(value) ⇒ Object
12 13 14 |
# File 'lib/montage/operators/like.rb', line 12 def self.==(value) value =~ /like/i && !value.downcase.include?("ilike") end |
.montage_operator ⇒ Object
8 9 10 |
# File 'lib/montage/operators/like.rb', line 8 def self.montage_operator "$contains" end |
.operator ⇒ Object
4 5 6 |
# File 'lib/montage/operators/like.rb', line 4 def self.operator "like" end |