File.exists? must cease to exist
parent
48c25dd863
commit
a23ce05752
|
@ -27,7 +27,7 @@ class OptPath < OptBase
|
|||
if value =~ /^memory:\s*([0-9]+)/i
|
||||
return false unless check_memory_location($1)
|
||||
else
|
||||
unless File.exists?(File.expand_path(value))
|
||||
unless File.exist?(File.expand_path(value))
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue