summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_version.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
commit5f6daf7b670b571447a5d907219ab7804e3c9007 (patch)
treeec228a87abab99d4dbc0626192d30b724a08888e /lib/chef/cookbook_version.rb
parentba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff)
downloadchef-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/cookbook_version.rb')
-rw-r--r--lib/chef/cookbook_version.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/cookbook_version.rb b/lib/chef/cookbook_version.rb
index 62407aa314..25963292c4 100644
--- a/lib/chef/cookbook_version.rb
+++ b/lib/chef/cookbook_version.rb
@@ -46,8 +46,7 @@ class Chef
attr_reader :all_files
- attr_accessor :root_paths
- attr_accessor :name
+ attr_accessor :root_paths, :name
# A Chef::Cookbook::Metadata object. It has a setter that fixes up the
# metadata to add descriptions of the recipes contained in this