summaryrefslogtreecommitdiff
path: root/lib/chef/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r--lib/chef/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index 74acd94e9b..074ab772a1 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -187,7 +187,7 @@ class Chef
#
# @param arg [Array[Symbol], Symbol] A list of actions (e.g. `:create`)
#
- def delayed_action(arg = nil)
+ def delayed_action(arg)
arg = Array(arg).map(&:to_sym)
arg.map do |action|
validate(