class FileAssay
Assert the existance of a file with ‘File.file?` call.
Public Class Methods
pass?(path)
click to toggle source
Check assertion using ‘File.file?` method.
# File lib/assay/file_assay.rb, line 12 def self.pass?(path) File.file?(path) end