diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-05 16:59:23 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-05 16:59:23 -0700 |
commit | 0439e7c7397342da5341ab38458917014d06f1ff (patch) | |
tree | b8b544fbb42fc980fc1bf43de8519d49fd44c64b /lib/chef/run_status.rb | |
parent | 46fb8800fb67506f52cdcdb3f7d6f8fae480cffe (diff) | |
download | chef-0439e7c7397342da5341ab38458917014d06f1ff.tar.gz |
Combine attr_reader / attr_writer into attr_accessorattr
Resolves Style/BisectedAttrAccessor
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/run_status.rb')
-rw-r--r-- | lib/chef/run_status.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/run_status.rb b/lib/chef/run_status.rb index f5bc1837d7..6e7c83ff48 100644 --- a/lib/chef/run_status.rb +++ b/lib/chef/run_status.rb @@ -25,17 +25,13 @@ class Chef::RunStatus attr_reader :events - attr_reader :run_context - - attr_writer :run_context + attr_accessor :run_context attr_reader :start_time attr_reader :end_time - attr_reader :exception - - attr_writer :exception + attr_accessor :exception attr_accessor :run_id |