lib/roda/plugins/backtracking_array.rb
def match_all(args)
          args = args.dup
          until args.empty?
            arg = args.shift
            if match(arg, args)
              return true if arg.is_a?(Array)
            else
              return
            end
          end
          true
        end
# If any of the args are an array, handle backtracking such
# that if a later matcher fails, we roll back to the current
# matcher and proceed to the next entry in the array.
If any of the args are an array, handle backtracking such
that if a later matcher fails, we roll back to the current
matcher and proceed to the next entry in the array.
If any of the args are an array handle backtracking such that if a later matcher fails we roll back to the current matcher and proceed to the next entry in the array .
def match_all(args)
          args = args.dup
          until args.empty?
            arg = args.shift
            if match(arg, args)
              return true if arg.is_a?(Array)
            else
              return
            end
          end
          true
        end
def match_all ( args ) args = args . dup until args . empty? arg = args . shift if match ( arg , args ) return true if arg . is_a? ( Array ) else return end end true end
If any of the args are an array, handle backtracking such
that if a later matcher fails, we roll back to the current
matcher and proceed to the next entry in the array.
If any of the args are an array handle backtracking such that if a later matcher fails we roll back to the current matcher and proceed to the next entry in the array .
args