Method: ActiveRoad::Path#reverse

Defined in:
app/models/active_road/path.rb

#reverseObject



52
53
54
# File 'app/models/active_road/path.rb', line 52

def reverse
  self.class.new :departure => arrival, :arrival => departure, :physical_road => physical_road
end