From 5f6daf7b670b571447a5d907219ab7804e3c9007 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Sun, 26 Jul 2020 17:26:36 -0700 Subject: Combine attr_readers onto a single line The method takes more than 1 argument Signed-off-by: Tim Smith --- lib/chef/chef_fs/file_system/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/chef/chef_fs/file_system/exceptions.rb') 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 -- cgit v1.2.1