This commit is contained in:
GitHub Merge Button 2012-04-12 07:49:08 -07:00
commit 2a4affa330

View File

@ -61,7 +61,7 @@ def route_status response
end
def way_list instructions
instructions.
instructions.reject { |r| r[0]=='You have reached your destination' }.
map { |r| r[1] }.
map { |r| r=="" ? '""' : r }.
join(',')