Sha256: 4fbea88b63270442caf31039a176042f083ebffdbcf1dcbb4b0a17cbf8e82088
Contents?: true
Size: 236 Bytes
Versions: 1
Compression:
Stored size: 236 Bytes
Contents
module FilterParam module Operators class Or < Operator operator_tag :or def self.sql(left, right) "#{left} OR #{right}" end end end end FilterParam::Operator.register(FilterParam::Operators::Or)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
filter_param-0.1.2 | lib/filter_param/operators/or.rb |