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