lib/arborist/event/node_update.rb in arborist-0.0.1.pre20160128152542 vs lib/arborist/event/node_update.rb in arborist-0.0.1.pre20160606141735
- old
+ new
@@ -1,19 +1,10 @@
#!/usr/bin/env ruby
require 'arborist/event' unless defined?( Arborist::Event )
-require 'arborist/event/node_matching'
+require 'arborist/event/node'
# An event sent on every node update, regardless of whether or not the update resulted in
# any changes
-class Arborist::Event::NodeUpdate < Arborist::Event
- include Arborist::Event::NodeMatching
-
-
- ### Use the node data as this event's payload.
- def payload
- return self.node.to_hash
- end
-
-
+class Arborist::Event::NodeUpdate < Arborist::Event::Node
end # class Arborist::Event::NodeUpdate