Merge pull request #245 from emiltin/cuke_profiles

speedprofiles specifically for testing
This commit is contained in:
Project OSRM
2012-05-08 02:17:27 -07:00
5 changed files with 63 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ end
def read_speedprofile profile
@speedprofile = {}
@speedprofile_str = nil
s = File.read "speedprofiles/#{profile}.ini"
s = File.read "test/speedprofiles/#{profile}.ini"
s.scan /(.*)=(.*)/ do |option|
@speedprofile[option[0].strip] = option[1].strip
end