summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/DeutscheBahn
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-12-03 15:18:56 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-12-03 15:18:56 +0100
commit7aca2847ff7ec5612451dd9cc672f03b70251419 (patch)
tree0d6668fdfc112592acb4fd557ccc5e0364834ed9 /lib/Travel/Status/DE/DeutscheBahn
parentab020b55629130202638ee2019117718a854a5ff (diff)
documentation: prefer ->line over ->train
Diffstat (limited to 'lib/Travel/Status/DE/DeutscheBahn')
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn/Result.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travel/Status/DE/DeutscheBahn/Result.pm b/lib/Travel/Status/DE/DeutscheBahn/Result.pm
index 4860810..af858c6 100644
--- a/lib/Travel/Status/DE/DeutscheBahn/Result.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn/Result.pm
@@ -144,7 +144,7 @@ arrival/departure received by Travel::Status::DE::DeutscheBahn
printf(
"At %s: %s to %s from platform %s\n",
$departure->time,
- $departure->train,
+ $departure->line,
$departure->destination,
$departure->platform,
);
@@ -155,7 +155,7 @@ arrival/departure received by Travel::Status::DE::DeutscheBahn
printf(
"At %s: %s from %s on platform %s\n",
$arrival->time,
- $arrival->train,
+ $arrival->line,
$arrival->origin,
$arrival->platform,
);
@@ -194,7 +194,7 @@ delayed. May be an empty string if no (useful) information is available.
=item $result->train
-Returns the line / train name, either in a format like "S 1" (S-Bahn line 1)
+Returns the line name, either in a format like "S 1" (S-Bahn line 1)
or "RE 10111" (RegionalExpress train 10111, no line information).
=item $result->platform