osrm-backend/features/support/config.rb

21 lines
284 B
Ruby
Raw Normal View History

2012-12-16 07:36:47 -05:00
def profile
@profile ||= reset_profile
end
2012-12-16 07:36:47 -05:00
def reset_profile
@profile = nil
set_profile DEFAULT_SPEEDPROFILE
end
2012-12-16 07:36:47 -05:00
def set_profile profile
@profile = profile
end
def set_extract_args args
@extract_args = args
end
2016-03-03 16:25:01 -05:00
def set_contract_args args
@contract_args = args
end