examples/example_helper.rb in ass_launcher-0.6.0 vs examples/example_helper.rb in ass_launcher-0.7.0
- old
+ new
@@ -51,11 +51,11 @@
def rm(name)
fail 'Abstract method call'
end
def exists?(name)
- File.exists? ib_file_path(name)
+ File.exist? ib_file_path(name)
end
def ib_file_path(name)
File.join ib_dir(name), '1Cv8.1CD'
end
@@ -101,10 +101,10 @@
module TMP
extend AssLauncher::Api
module TmpIb
extend IbMaker
def self.rm(name)
- FileUtils.rm_rf ibases[name] if File.exists? ibases[name]
+ FileUtils.rm_rf ibases[name] if File.exist? ibases[name]
end
def self.ibases_root
Dir.tmpdir
end