lib/coderunner/class_methods.rb in coderunner-0.17.3 vs lib/coderunner/class_methods.rb in coderunner-0.17.4
- old
+ new
@@ -60,12 +60,12 @@
end
# Cancel the job with the given id. The user is asked interactively for
# confirmation and whether they would like to delete the folder for that job
# as well.
- def self.cancel(id, copts={})
+ def self.cancel(copts={})
runner = fetch_runner(copts)
- runner.cancel_job(id.to_i)
+ runner.cancel_job(copts)
end
def self.continue_in_new_folder(folder, copts={})
runner=fetch_runner(copts)
options = {}