Method: Specinfra::Command::Windows::Base::File.check_is_directory
- Defined in:
- lib/specinfra/command/windows/base/file.rb
permalink .check_is_directory(dir) ⇒ Object
[View source]
17 18 19 20 21 22 |
# 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 |