class ParamsReady::Query::VariableOperatorPredicateBuilder

Public Class Methods

instance(name, altn: nil, attr: nil) click to toggle source
# File lib/params_ready/query/variable_operator_predicate.rb, line 69
def self.instance(name, altn: nil, attr: nil)
  new VariableOperatorPredicateDefinition.new name, altn: altn, attribute_name: attr
end

Public Instance Methods

data_object_handles() click to toggle source
# File lib/params_ready/query/variable_operator_predicate.rb, line 73
def data_object_handles
  [:value, :val]
end
operators(*arr, &block) click to toggle source
# File lib/params_ready/query/variable_operator_predicate.rb, line 77
def operators(*arr, &block)
  @definition.set_operators(arr, &block)
end