diff options
author | danielsdeleo <dan@getchef.com> | 2015-05-06 12:00:06 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-05-06 12:00:06 -0700 |
commit | 3b6f32e58c5d40ed9bb33585afd6c62512cfec13 (patch) | |
tree | 87895da55be168764e98d9831a3f3ae2bf8bd86d /lib/chef/event_dispatch | |
parent | 690dcf41954885b087910d9b49f98912390fad10 (diff) | |
download | chef-3b6f32e58c5d40ed9bb33585afd6c62512cfec13.tar.gz |
Allow inspection of event dispatch's subscribersinspect-dispatcher-subscribers
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r-- | lib/chef/event_dispatch/dispatcher.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/dispatcher.rb b/lib/chef/event_dispatch/dispatcher.rb index 9f43f14311..370f8c51b4 100644 --- a/lib/chef/event_dispatch/dispatcher.rb +++ b/lib/chef/event_dispatch/dispatcher.rb @@ -9,6 +9,8 @@ class Chef # the registered subscribers. class Dispatcher < Base + attr_reader :subscribers + def initialize(*subscribers) @subscribers = subscribers end |