class PathAssay

Assert the existance of a file with ‘File.file?` call.

Public Class Methods

pass?(path) click to toggle source

Check assertion using ‘File.exist?` method.

# File lib/assay/path_assay.rb, line 12
def self.pass?(path)
  File.exist?(path)
end