# File lib/chef/mixin/why_run.rb, line 49 def add_action(descriptions, &block) @actions << [descriptions, block] if !Chef::Config[:why_run] block.call end events.resource_update_applied(@resource, @action, descriptions) end