Class Bundler::Molinillo::DependencyGraph::Log
In: lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb
Parent: Object

A log for dependency graph actions

Methods

Public Class methods

Initializes an empty log

Public Instance methods

{include:DependencyGraph#delete_edge} @param [Graph] graph the graph to perform the action on @param [String] origin_name @param [String] destination_name @param [Object] requirement @return (see DependencyGraph#delete_edge)

@!visibility private Enumerates each action in the log @yield [Action]

Pops the most recent action from the log and undoes the action @param [DependencyGraph] graph @return [Action] the action that was popped off the log

@!visibility private Enumerates each action in the log in reverse order @yield [Action]

@macro action

[Validate]