class Distribution::Locally

Distribution::Locally
role Distribution::Locally does Distribution { }

Provides read access to specific files pointed at by a distributions metadata, providing the Distribution#method_content method for Distribution::Path and Distribution::Hash.

Methods

method prefix

A prefix path to be used in conjuncture with the paths found in the metadata.

method content

Provides Distribution#method_content

Returns an IO::Handle to the file represented by $name-path. $name-path is a relative path as it would be found in the metadata such as lib/Foo.rakumod or resources/foo.txt, and these paths will be prefixed with Distribution#method_prefix.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite β€” the markup and publishing tools behind this site.