Method: Chef::RunContext#before_notifications
- Defined in:
- lib/chef/run_context.rb
permalink #before_notifications(resource) ⇒ Array[Notification]
Get the list of before notifications sent by the given resource.
332 333 334 335 |
# File 'lib/chef/run_context.rb', line 332 def before_notifications(resource) key = resource.is_a?(String) ? resource : resource.declared_key before_notification_collection[key] end |