Method: Specinfra::Command::Windows::Base::File.check_is_readonly
- Defined in:
- lib/specinfra/command/windows/base/file.rb
permalink .check_is_readonly(file) ⇒ Object
[View source]
31 32 33 34 35 36 |
# File 'lib/specinfra/command/windows/base/file.rb', line 31 def check_is_readonly(file) cmd = item_has_attribute file, 'ReadOnly' Backend::PowerShell::Command.new do exec cmd end end |