2015-02-12 13:01:05 +03:00
|
|
|
module Validators
|
2015-07-16 17:18:55 +03:00
|
|
|
module Key
|
|
|
|
|
class FileExistence < Base
|
2015-02-12 13:01:05 +03:00
|
|
|
|
2015-07-16 17:18:55 +03:00
|
|
|
delegate_to_helper_validator { Helpers::FileExistence.new(@model.path) }
|
2015-02-12 13:01:05 +03:00
|
|
|
|
2015-07-16 17:18:55 +03:00
|
|
|
end
|
2015-02-12 13:01:05 +03:00
|
|
|
end
|
|
|
|
|
end
|