summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/event_dispatch/base.rb')
-rw-r--r--lib/chef/event_dispatch/base.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 585a3db174..09e6b825f3 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -1,5 +1,4 @@
class Chef
-
# ==EventDispatch
# Classes in EventDispatch deal with collecting, distributing, and handling
# information in response to events that occur during a chef-client run.
@@ -21,13 +20,11 @@ class Chef
# consider the feature "beta" for now and be prepared for possible breaking
# changes in point releases.
module EventDispatch
-
# == EventDispatch::Base
# EventDispatch::Base is a completely abstract base class that defines the
# API used by both the classes that collect event information and those
# that process them.
class Base
-
# Called at the very start of a Chef Run
def run_start(version)
end
@@ -298,7 +295,7 @@ class Chef
#
# Called before action is executed on a resource.
- def resource_action_start(resource, action, notification_type=nil, notifier=nil)
+ def resource_action_start(resource, action, notification_type = nil, notifier = nil)
end
# Called when a resource action has been skipped b/c of a conditional
@@ -381,7 +378,7 @@ class Chef
end
# Emit a message about something being deprecated.
- def deprecation(message, location=caller(2..2)[0])
+ def deprecation(message, location = caller(2..2)[0])
end
def run_list_expanded(run_list_expansion)
@@ -394,7 +391,6 @@ class Chef
# callback for it.
def msg(message)
end
-
end
end
end