class ParamsReady::Query::ExistsPredicateDefinition
Public Class Methods
new(*args, path_to_collection: nil, **opts)
click to toggle source
Calls superclass method
# File lib/params_ready/query/exists_predicate.rb, line 91 def initialize(*args, path_to_collection: nil, **opts) @path_to_collection = path_to_collection super *args, **opts end
Public Instance Methods
path_to_collection()
click to toggle source
# File lib/params_ready/query/exists_predicate.rb, line 96 def path_to_collection @path_to_collection || [@name] end