# File lib/specinfra/command/windows/base/file.rb, line 17 def check_is_directory(dir) cmd = item_has_attribute dir, 'Directory' Backend::PowerShell::Command.new do exec cmd end end