summaryrefslogtreecommitdiff
path: root/lib/chef/run_status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_status.rb')
-rw-r--r--lib/chef/run_status.rb18
1 files changed, 3 insertions, 15 deletions
diff --git a/lib/chef/run_status.rb b/lib/chef/run_status.rb
index f5bc1837d7..e9b25f6705 100644
--- a/lib/chef/run_status.rb
+++ b/lib/chef/run_status.rb
@@ -23,23 +23,11 @@
# Chef run.
class Chef::RunStatus
- attr_reader :events
+ attr_reader :events, :run_context, :start_time, :end_time, :exception
- attr_reader :run_context
+ attr_writer :run_context, :exception
- attr_writer :run_context
-
- attr_reader :start_time
-
- attr_reader :end_time
-
- attr_reader :exception
-
- attr_writer :exception
-
- attr_accessor :run_id
-
- attr_accessor :node
+ attr_accessor :run_id, :node
def initialize(node, events)
@node = node