Method: Chef::EventDispatch::Dispatcher#formatter?
- Defined in:
- lib/chef/event_dispatch/dispatcher.rb
#formatter? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Check to see if we are dispatching to a formatter
56 57 58 |
# File 'lib/chef/event_dispatch/dispatcher.rb', line 56 def formatter? subscribers.any? { |s| s.respond_to?(:is_formatter?) && s.is_formatter? } end |