From 11d64c2438d6e387986adce3d4740f2bc7efaab9 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 12 Oct 2016 10:53:24 -0700 Subject: make arg to delayed_action required Signed-off-by: Lamont Granquist --- lib/chef/resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.1