class ParamsReady::Query::CustomPredicateDefinition

Public Class Methods

new(*args, type: nil, to_query: nil, test: nil, **opts) click to toggle source
# File lib/params_ready/query/custom_predicate.rb, line 87
def initialize(*args, type: nil, to_query: nil, test: nil, **opts)
  @type = type
  @to_query = to_query
  @test = test
  super *args, **opts
end

Public Instance Methods

finish() click to toggle source
# File lib/params_ready/query/custom_predicate.rb, line 94
def finish
  @type.finish
  super
end