File.exists? is deprecated
This commit is contained in:
parent
63b246063f
commit
921faaa940
@ -28,7 +28,7 @@ module Dav4rack
|
||||
@heads = {}
|
||||
@cache_file = args[:cache_directory] ? cache_file_path : nil
|
||||
@redefine_prefix = nil
|
||||
if(@cache_file && File.exists?(@cache_file))
|
||||
if(@cache_file && File.exist?(@cache_file))
|
||||
@root = ''
|
||||
@path_info = @cache_file
|
||||
@path = @path_info
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user