Sha256: 0d1c6262714927daa6263c2689f5c15716455799b1e1cba9185950c50fd5b497
Contents?: true
Size: 449 Bytes
Versions: 9
Compression:
Stored size: 449 Bytes
Contents
module Rasti module DB module NQL module FilterConditionStrategies class Base def filter_condition_for(comparison_name, identifier, argument) type = type_for argument raise UnsupportedTypeComparison.new(type, comparison_name) unless type.respond_to?(comparison_name) type.public_send comparison_name, identifier, argument.value end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems