Class: Interdependence::ObservableDependencySetGraph
- Inherits:
-
DependencySetGraph
- Object
- Hash
- Graph
- DependencySetGraph
- Interdependence::ObservableDependencySetGraph
- Includes:
- Observable
- Defined in:
- lib/interdependence/observable_dependency_set_graph.rb
Overview
DependencySetGraph mixed with the Observable module
Instance Method Summary collapse
-
#merge! ⇒ ObservableDependencySetGraph
private
Merge dependency set graph and notify observers.
Methods inherited from DependencySetGraph
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
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 |