summaryrefslogtreecommitdiff
path: root/lib/Net/Travel/DE/VRR/Route.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-23 15:10:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-23 15:10:24 +0200
commit26deb42e6fca8206c437eb3223429ac0fec84fc2 (patch)
tree8a0aa6c32274fd727b53d8764c30be1a189f39db /lib/Net/Travel/DE/VRR/Route.pm
parent4da3a72be49f769c307381d92320bc7baefe2a01 (diff)
More descriptive accessor names in Net::Travel::DE::VRR::Route::Part
Diffstat (limited to 'lib/Net/Travel/DE/VRR/Route.pm')
-rw-r--r--lib/Net/Travel/DE/VRR/Route.pm33
1 files changed, 30 insertions, 3 deletions
diff --git a/lib/Net/Travel/DE/VRR/Route.pm b/lib/Net/Travel/DE/VRR/Route.pm
index 1b71097..7089120 100644
--- a/lib/Net/Travel/DE/VRR/Route.pm
+++ b/lib/Net/Travel/DE/VRR/Route.pm
@@ -39,30 +39,57 @@ Net::Travel::DE::VRR::Route - Single route (connection) between two points
=head1 SYNOPSIS
+ for my $route ( $efa->routes() ) {
+ for my $part ( $route->parts() ) {
+ # $part is a Net::Travel::DE::VRR::Route::Part object
+ }
+ }
+
=head1 VERSION
version 1.3
=head1 DESCRIPTION
+Net::Travel::DE::VRR::Route describes a single method of getting from one
+point to another. It holds a bunch of Net::Travel::DE::VRR::Route::Part(3pm)
+objects describing the parts of the route in detail. Each part depends on the
+previous one.
+
+You usually want to acces it via C<< $efa->routes() >>.
+
=head1 METHODS
=over
+=item my $route = Net::Travel::DE::VRR::Route->new(I<@parts>)
+
+Creates a new Net::Travel::DE::VRR::Route elements consisting of I<parts>,
+which are Net::Travel::DE::VRR::Route::Part elements.
+
+=item $route->parts()
+
+Returns a list of Net::Travel::DE::VRR::Route::Part(3pm) elements describing
+the actual route.
+
=back
=head1 DIAGNOSTICS
+None.
+
=head1 DEPENDENCIES
-=over
-
-=back
+None.
=head1 BUGS AND LIMITATIONS
+None known.
+
=head1 SEE ALSO
+Net::Travel::DE::VRR(3pm), Net::Travel::DE::VRR::Route::Part(3pm).
+
=head1 AUTHOR
Copyright (C) 2011 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>