def matches_conditions?(object, query)
        query[:guard] == false ||
        Array(if_condition).all? {|condition| evaluate_method(object, condition)} &&
        !Array(unless_condition).any? {|condition| evaluate_method(object, condition)}
      end
def matches_conditions?(object, query)
        query[:guard] == false ||
        Array(if_condition).all? {|condition| evaluate_method(object, condition)} &&
        !Array(unless_condition).any? {|condition| evaluate_method(object, condition)}
      end
def matches_conditions? ( object , query ) query [ :guard ] == false || Array ( if_condition ) . all? { | condition | evaluate_method ( object , condition ) } && ! Array ( unless_condition ) . any? { | condition | evaluate_method ( object , condition ) } end
Verifies that the conditionals for this branch evaluate to true for the
 given object
Verifies that the conditionals for this branch evaluate to true for the given object