class Molinillo::DependencyGraph::Log(P, R)
- Molinillo::DependencyGraph::Log(P, R)
- Reference
- Object
Defined in:
molinillo/dependency_graph/log.crInstance Method Summary
- #add_edge_no_circular(graph, origin, destination, requirement)
- #add_vertex(graph, name : String, payload : P, root)
-
#delete_edge(graph, origin_name, destination_name, requirement)
{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)
- #detach_vertex_named(graph, name)
-
#each(&)
Enumerates each action in the log @yield [Action]
-
#pop!(graph)
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
- #rewind_to(graph, tag)
-
#set_payload(graph, name, payload)
@macro action
- #tag(graph, tag)
Instance Method Detail
{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)
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