class Trainworks::GraphAlgorithm::NoSuchRoute

NoSuchRoute is raised when there are no direct connection between two cities (nodes)

Public Instance Methods

to_s() click to toggle source
# File lib/trainworks/graph_algorithm.rb, line 122
def to_s
  'NO SUCH ROUTE'
end