Class: Interdependence::ObservableDependencySetGraph

Inherits:
DependencySetGraph show all
Includes:
Observable
Defined in:
lib/interdependence/observable_dependency_set_graph.rb

Overview

DependencySetGraph mixed with the Observable module

Instance Method Summary collapse

Methods inherited from DependencySetGraph

#change_owner, #clone

Methods inherited from Graph

#initialize, #tsort_each_child, #tsort_fetch

Constructor Details

This class inherits a constructor from Interdependence::Graph

Instance Method Details

#merge!ObservableDependencySetGraph

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Merge dependency set graph and notify observers

Returns:

See Also:



16
17
18
19
20
21
# File 'lib/interdependence/observable_dependency_set_graph.rb', line 16

def merge!(*)
  super.tap do
    changed
    notify_observers(self)
  end
end