lib/ratis/itinerary.rb in ratis-3.6.2 vs lib/ratis/itinerary.rb in ratis-3.6.3

- old
+ new

@@ -10,10 +10,10 @@ @final_walk_dir = response[:finalwalkdir] @reduced_fare = response[:reducedfare].to_f @regular_fare = response[:regularfare].to_f @transit_time = response[:transittime].to_i @trace_info = response[:traceinfo] - @legs = response.to_array :legs, :leg + @legs = response.to_array(:legs, :leg).map { |l| Hashie::Mash.new l } end end end