lib/arborist/event/node_update.rb in arborist-0.3.0 vs lib/arborist/event/node_update.rb in arborist-0.4.0
- old
+ new
@@ -5,6 +5,13 @@
# An event sent on every node update, regardless of whether or not the update resulted in
# any changes
class Arborist::Event::NodeUpdate < Arborist::Event::Node
+
+ ### Returns +true+ if the event contains node information other than about a
+ ### change in its state.
+ def informational?
+ return true
+ end
+
end # class Arborist::Event::NodeUpdate