summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-27 23:31:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-27 23:31:19 +0200
commitf81b605c3cd243d41b72ba647f2585370b26e5d6 (patch)
treeaa5099cb707ed358b1d0987031b6060be65d6f44 /lib
parent969a501c444b9c583d4fb577f33c0c0008e4c1ec (diff)
DeutscheBahn/Result.pm: Document destination/origin aliases as separate items
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn/Result.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DeutscheBahn/Result.pm b/lib/Travel/Status/DE/DeutscheBahn/Result.pm
index d3ae8d2..36f2c94 100644
--- a/lib/Travel/Status/DE/DeutscheBahn/Result.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn/Result.pm
@@ -91,7 +91,11 @@ Returns the last element of the route. Depending on how you set up
Travel::Status::DE::DeutscheBahn (arrival or departure listing), this is
either the train's destination or its origin station.
-For convenienc, this method can also be called as B<destination> or B<origin>.
+=item $result->destination
+
+=item $result->origin
+
+Convenience aliases for $result->route_end.
=item $result->info