Commit f81b605c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

DeutscheBahn/Result.pm: Document destination/origin aliases as separate items

parent 969a501c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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