Class: Gem::Resolver::Molinillo::DependencyGraph::Edge

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#destinationVertex

The destination of the directed edge

Returns:

  • (Vertex)

    the current value of destination



46
47
48
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb', line 46

def destination
  @destination
end

#originVertex

The origin of the directed edge

Returns:

  • (Vertex)

    the current value of origin



46
47
48
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb', line 46

def origin
  @origin
end

#requirementObject

The requirement the directed edge represents

Returns:

  • (Object)

    the current value of requirement



46
47
48
# File 'lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb', line 46

def requirement
  @requirement
end