summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/ASEAG
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-15 22:13:27 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-15 22:13:27 +0100
commit85af20955c828eb7bfb435d8afa3770d9198e955 (patch)
tree3eb42f7e95e8deb0d67dca2e9bb000f9049c1248 /lib/Travel/Status/DE/ASEAG
parent08d2fd6471fd5458fb9e97634ce026771098f66a (diff)
add -s, -S options to allow user control of time/duration formats
Diffstat (limited to 'lib/Travel/Status/DE/ASEAG')
-rw-r--r--lib/Travel/Status/DE/ASEAG/Result.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/ASEAG/Result.pm b/lib/Travel/Status/DE/ASEAG/Result.pm
index 6e09692..3d88261 100644
--- a/lib/Travel/Status/DE/ASEAG/Result.pm
+++ b/lib/Travel/Status/DE/ASEAG/Result.pm
@@ -94,8 +94,10 @@ The number of the line.
=item $departure->route_timetable
-Returns an arrayref of arrayrefs describing the entire route as departure,
-stop objects.
+Returns an arrayref of arrayrefs describing the entire route. I.e.
+C<< [[$time1, $stop1], [$time2, $stop2], ...] >>.
+The times are DateTime::Duration(3pm) objects, the stops are only names,
+not IDs (subject to change).
=item $departure->stop