Sha256: aeb5236b4f8739314d67cb1e84448a2dcc6891b1646da1d58f3b22ba879e9043

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module FilterParam
  module Operators
    class And < Operator
      operator_tag :and

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

FilterParam::Operator.register(FilterParam::Operators::And)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
filter_param-0.1.2 lib/filter_param/operators/and.rb