lib/file.rb in wixgem-0.111.0 vs lib/file.rb in wixgem-0.112.0

- old
+ new

@@ -1,9 +1,9 @@ require 'win32ole' class File def self.read_only?(path) - raise "'#{path}' does not exist" unless(File.exists?(path)) + raise "'#{path}' does not exist" unless(File.exist?(path)) fso = WIN32OLE.new('Scripting.FileSystemObject') raise 'Failed to create Scripting.FileSystemObject' if(fso.nil?) fo = fso.GetFile(path) \ No newline at end of file