class Edge

Attributes

cost[RW]
from[RW]
to[RW]

Public Instance Methods

to_s() click to toggle source
# File lib/edge.rb, line 4
def to_s
  "Edge #{from} -> #{to} (costs #{cost})"
end