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/chef_fs/file_system/exceptions.rb | |
parent | ba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff) | |
download | chef-5f6daf7b670b571447a5d907219ab7804e3c9007.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/chef_fs/file_system/exceptions.rb')
-rw-r--r-- | lib/chef/chef_fs/file_system/exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_fs/file_system/exceptions.rb b/lib/chef/chef_fs/file_system/exceptions.rb index 8f6ce64f02..9c1c4dbfe3 100644 --- a/lib/chef/chef_fs/file_system/exceptions.rb +++ b/lib/chef/chef_fs/file_system/exceptions.rb @@ -78,8 +78,8 @@ class Chef @operation = operation end - attr_reader :operation - attr_reader :entry + attr_reader :operation, :entry + end class AlreadyExistsError < OperationFailedError; end |