Sha256: 9c1f5ca284f9c97c8021fbce61a97284ab1c291aafa4dcf2bed2b5a8d969a3c4
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
module Searchgasm module Condition class EndsWith < Base self.join_arrays_with_or = true class << self def condition_names_for_column super + ["ew", "ends", "end"] end end def to_conditions(value) ["#{column_sql} LIKE ?", "%#{value}"] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems