struct Molinillo::DependencyGraph::Edge(P, R)

Overview

A directed edge of a {DependencyGraph} @attr [Vertex] origin The origin of the directed edge @attr [Vertex] destination The destination of the directed edge @attr [Object] requirement The requirement the directed edge represents

Defined in:

molinillo/dependency_graph.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origin : Vertex(P, R), destination : Vertex(P, R), requirement : R) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(origin _origin = @origin, destination _destination = @destination, requirement _requirement = @requirement) #

[View source]
def destination : Vertex(P, R) #

def origin : Vertex(P, R) #

def requirement : R #