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

Result.pm: Document ->date accessor

parent 5e436d35
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -176,17 +176,9 @@ the platform, time, route and more.

=over

=item $result->route_end

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.
=item $result->date

=item $result->destination

=item $result->origin

Convenience aliases for $result->route_end.
Arrival/Departure date in "dd.mm.yyyy" format.

=item $result->delay

@@ -214,6 +206,18 @@ arrive.
Returns a list of station names the train will pass between the selected
station and its origin/destination.

=item $result->route_end

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.

=item $result->destination

=item $result->origin

Convenience aliases for $result->route_end.

=item $result->route_interesting([I<max>])

Returns a list of up to I<max> (default: 3) interesting stations the train