lib/epuber/lockfile.rb in epuber-0.7.2 vs lib/epuber/lockfile.rb in epuber-0.7.3

- old
+ new

@@ -16,10 +16,10 @@ # Load existing lockfile from given path, or create new one. You can define default attributes in block. # # @return [self] # def self.from_file(file_path) - if File.exists?(file_path) + if File.exist?(file_path) hash = YAML.safe_load(File.read(file_path)) else hash = {} end