class Arborist::Event::NodeWarn

An event generated when a monitor adds the first warning to a node.

Public Class Methods

new( node ) click to toggle source

Create a new NodeWarn event for the specified node.

Calls superclass method Arborist::Event::Node::new
# File lib/arborist/event/node_warn.rb, line 11
def initialize( node )
        super( node, node.warnings.to_h )
end