Method: Bahn::Stop#arrival_time_from_origin
- Defined in:
- lib/bahn.rb
#arrival_time_from_origin ⇒ Object
Returns the time between departing the origin station and arriving at this station, as a number of seconds, or nil if arrival time is not specified.
395 396 397 398 |
# File 'lib/bahn.rb', line 395 def arrival_time_from_origin get_full_details if @arrival_time_from_origin.nil? @arrival_time_from_origin == :none ? nil : @arrival_time_from_origin end |