lib/paraduct/runner.rb in paraduct-0.0.1.beta9 vs lib/paraduct/runner.rb in paraduct-0.0.1.beta10
- old
+ new
@@ -37,10 +37,10 @@
def job_dir
Pathname(@base_job_dir).join(job_name)
end
def job_name
- key_capitalized_params.map { |key, value| "#{key}_#{value}" }.join("_")
+ key_capitalized_params.map { |key, value| "#{key}_#{value}" }.join("_").gsub(%r([/ ]), "_")
end
def key_capitalized_params
self.class.capitalize_keys(@params)
end