class ActionDispatch::Journey::Path::Pattern::MatchData

def captures

def captures
  Array.new(length - 1) { |i| self[i + 1] }
end