Exception: Trainworks::GraphAlgorithm::NoSuchRoute
- Inherits:
-
KeyError
- Object
- KeyError
- Trainworks::GraphAlgorithm::NoSuchRoute
- Defined in:
- lib/trainworks/graph_algorithm.rb
Overview
NoSuchRoute is raised when there are no direct connection between two cities (nodes)
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
122 123 124 |
# File 'lib/trainworks/graph_algorithm.rb', line 122 def to_s 'NO SUCH ROUTE' end |