class Molinillo::DependencyGraph::Log(P, R)

Defined in:

molinillo/dependency_graph/log.cr

Instance Method Summary

Instance Method Detail

def add_edge_no_circular(graph, origin, destination, requirement) #

[View source]
def add_vertex(graph, name : String, payload : P, root) #

[View source]
def 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)


[View source]
def detach_vertex_named(graph, name) #

[View source]
def each(&) #

Enumerates each action in the log @yield [Action]


[View source]
def 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


[View source]
def rewind_to(graph, tag) #

[View source]
def set_payload(graph, name, payload) #

@macro action


[View source]
def tag(graph, tag) #

[View source]