diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
commit | 5f6daf7b670b571447a5d907219ab7804e3c9007 (patch) | |
tree | ec228a87abab99d4dbc0626192d30b724a08888e /lib/chef/powershell.rb | |
parent | ba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff) | |
download | chef-attrs.tar.gz |
Combine attr_readers onto a single lineattrs
The method takes more than 1 argument
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/powershell.rb')
-rw-r--r-- | lib/chef/powershell.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/powershell.rb b/lib/chef/powershell.rb index 10765384ff..73543468dd 100644 --- a/lib/chef/powershell.rb +++ b/lib/chef/powershell.rb @@ -22,8 +22,7 @@ class Chef class PowerShell extend FFI::Library - attr_reader :result - attr_reader :errors + attr_reader :result, :errors # Run a command under PowerShell via FFI # This implementation requires the managed dll and native wrapper to be in the library search |