Changed it to       strings << path if path.class == String instead of       strings[ 0 ] << path if path.class == String and the same with       hashes[ 0 ] << path in method analyze(paths) because it was wrong
Changed it to
      strings << path if path.class == String
instead of
      strings[ 0 ] << path if path.class == String
and the same with
      hashes[ 0 ] << path
in method analyze(paths) because it was wrong

pdxrod/routesfordummies,pdxrod/routesfordummies,pdxrod/routesfordummies,pdxrod/routesfordummies