From 404a9bc88be538769c6c80b3b31f39a6582991d2 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 13 Feb 2017 09:52:10 -0800 Subject: fix specs: RedundantReturn, RedundantSelf, RedundantBegin department of redundancy department Signed-off-by: Lamont Granquist --- lib/chef/run_context.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/chef/run_context.rb') diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb index aa6280e5be..6d84b7773d 100644 --- a/lib/chef/run_context.rb +++ b/lib/chef/run_context.rb @@ -253,7 +253,7 @@ class Chef # @return [Array[Notification]] # def before_notifications(resource) - return before_notification_collection[resource.declared_key] + before_notification_collection[resource.declared_key] end # @@ -262,7 +262,7 @@ class Chef # @return [Array[Notification]] # def immediate_notifications(resource) - return immediate_notification_collection[resource.declared_key] + immediate_notification_collection[resource.declared_key] end # @@ -272,7 +272,7 @@ class Chef # @return [Array[Notification]] # def delayed_notifications(resource) - return delayed_notification_collection[resource.declared_key] + delayed_notification_collection[resource.declared_key] end # -- cgit v1.2.1