A log for dependency graph actions

Class Methods

Initializes an empty log

Instance Methods

@macro action

@macro action

{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)

@macro action

@!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

Adds the given action to the log, running the action @param [DependencyGraph] graph @param [Action] action @return The value returned by ‘action.up`

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

@macro action

@macro action

@macro action