class ParamsReady::Query::StructuredGrouping
Public Instance Methods
context_for_predicates(restriction)
click to toggle source
# File lib/params_ready/query/structured_grouping.rb, line 25 def context_for_predicates(restriction) intent_for_children(restriction) end
operator()
click to toggle source
# File lib/params_ready/query/structured_grouping.rb, line 21 def operator self[:operator].unwrap end
predicates()
click to toggle source
# File lib/params_ready/query/structured_grouping.rb, line 11 def predicates return [] if is_nil? definition.predicates.keys.map do |name| parameter = child(name) next nil unless parameter.is_definite? parameter end.compact end