diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-12 11:53:19 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | 2e1a19c7111554dbaaf985de72d6ad7e79af6f26 (patch) | |
tree | 51baf63c641e9a1da9464778f65650d193798980 /lib/chef | |
parent | f715aa191a489bf7c5dfff7a8b1fc20d20c35d6c (diff) | |
download | chef-2e1a19c7111554dbaaf985de72d6ad7e79af6f26.tar.gz |
fix Style/StructInheritance coplcg/more-cops
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource_reporter.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource_reporter.rb b/lib/chef/resource_reporter.rb index 4135483441..8422870e2a 100644 --- a/lib/chef/resource_reporter.rb +++ b/lib/chef/resource_reporter.rb @@ -26,11 +26,11 @@ require "chef/event_dispatch/base" class Chef class ResourceReporter < EventDispatch::Base - class ResourceReport < Struct.new(:new_resource, - :current_resource, - :action, - :exception, - :elapsed_time) + ResourceReport = Struct.new(:new_resource, + :current_resource, + :action, + :exception, + :elapsed_time) do def self.new_with_current_state(new_resource, action, current_resource) report = new |