summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-11 13:20:45 -0700
committerTim Smith <tsmith@chef.io>2018-03-11 13:20:45 -0700
commit264d03d07c184ad5322469d0174b06f5d475f087 (patch)
tree5ff50024d939e1728c24d9900c66982427fe3166 /lib/chef/run_context.rb
parent84ea1415f0a31780d3ff03de340e32af23ff62c4 (diff)
downloadchef-264d03d07c184ad5322469d0174b06f5d475f087.tar.gz
Fix some yard warningsyard_warnings
More Rubymine warnings Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index b2eee0406e..a3dd6cffba 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -206,7 +206,7 @@ class Chef
#
# Adds an before notification to the +before_notification_collection+.
#
- # @param [Chef::Resource::Notification] The notification to add.
+ # @param [Chef::Resource::Notification] notification The notification to add.
#
def notifies_before(notification)
# Note for the future, notification.notifying_resource may be an instance
@@ -218,7 +218,7 @@ class Chef
#
# Adds an immediate notification to the +immediate_notification_collection+.
#
- # @param [Chef::Resource::Notification] The notification to add.
+ # @param [Chef::Resource::Notification] notification The notification to add.
#
def notifies_immediately(notification)
# Note for the future, notification.notifying_resource may be an instance
@@ -230,7 +230,7 @@ class Chef
#
# Adds a delayed notification to the +delayed_notification_collection+.
#
- # @param [Chef::Resource::Notification] The notification to add.
+ # @param [Chef::Resource::Notification] notification The notification to add.
#
def notifies_delayed(notification)
# Note for the future, notification.notifying_resource may be an instance
@@ -309,7 +309,7 @@ class Chef
# I don't see anything different beyond accepting and returning an
# array of recipes.
#
- # @param recipe_names [Array[String]] The recipe name (e.g 'my_cookbook' or
+ # @param recipe_name [Array[String]] The recipe name (e.g 'my_cookbook' or
# 'my_cookbook::my_resource').
# @param current_cookbook [String] The cookbook we are currently running in.
#