Class: Molinillo::DependencyGraph::Edge

Inherits:
Struct
  • Object
show all
Defined in:
lib/molinillo/dependency_graph.rb

Overview

A directed edge of a Molinillo::DependencyGraph

Instance Attribute Summary collapse

Instance Attribute Details

#destinationVertex

The destination of the directed edge

Returns:

  • (Vertex)

    the current value of destination



45
46
47
# File 'lib/molinillo/dependency_graph.rb', line 45

def destination
  @destination
end

#originVertex

The origin of the directed edge

Returns:

  • (Vertex)

    the current value of origin



45
46
47
# File 'lib/molinillo/dependency_graph.rb', line 45

def origin
  @origin
end

#requirementObject

The requirement the directed edge represents

Returns:

  • (Object)

    the current value of requirement



45
46
47
# File 'lib/molinillo/dependency_graph.rb', line 45

def requirement
  @requirement
end