lib/ratis/route.rb in ratis-2.5.2.8 vs lib/ratis/route.rb in ratis-3.0.0
- old
+ new
@@ -10,10 +10,10 @@
routes = response.to_hash[:allroutes_response][:routes].split(/\n/)
atis_routes = routes.map do |r|
r.strip!
next if r.blank?
- r = r.split(/, /)
+ r = r.split(/,/)
Route.new r[0].strip, r[1..-1].map(&:strip)
end
atis_routes.compact
end