Method: Bahn::Stop#subhash
- Defined in:
- lib/bahn.rb
#subhash ⇒ Object
Code identifying this stop, which can form part of the hash for the Service. Not quite suitable as a hash for this stop in its own right, as different trains at the same station at the same time will have the same hash…
449 450 451 |
# File 'lib/bahn.rb', line 449 def subhash # :nodoc: [@station.id, departure_time, arrival_time].hash end |