summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE/VRR/Route/Part.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing/DE/VRR/Route/Part.pm')
-rw-r--r--lib/Travel/Routing/DE/VRR/Route/Part.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm
index 5122868..9c35196 100644
--- a/lib/Travel/Routing/DE/VRR/Route/Part.pm
+++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm
@@ -44,6 +44,12 @@ sub extra {
return @{ $self->{extra} // [] };
}
+sub via {
+ my ($self) = @_;
+
+ return ${ $self->{via} // [] };
+}
+
1;
__END__