Class: FilterParam::Operators::Or

Inherits:
FilterParam::Operator show all
Defined in:
lib/filter_param/operators/or.rb

Class Method Summary collapse

Methods inherited from FilterParam::Operator

binaries, for, operator_tag, register, tag, type, unaries

Class Method Details

.sql(left, right) ⇒ Object



6
7
8
# File 'lib/filter_param/operators/or.rb', line 6

def self.sql(left, right)
  "#{left} OR #{right}"
end