# File lib/chef/resource.rb, line 299 def notifies_immediately(action, resource_spec) @immediate_notifications << Notification.new(resource_spec, action, self) end