Dist::Zilla::File::InMemory - a file that you build entirely in memory


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::File::InMemory - a file that you build entirely in memory

VERSION

Top

version 4.200008

DESCRIPTION

Top

This represents a file created in memory -- it's not much more than a glorified string. It has a read/write content attribute that holds the octets that will be written to disk.

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

package Dist::Zilla::File::InMemory;
BEGIN {
  $Dist::Zilla::File::InMemory::VERSION = '4.200008';
}
# ABSTRACT: a file that you build entirely in memory
use Moose;


has content => (
  is  => 'rw',
  isa => 'Str',
  required => 1,
);

with 'Dist::Zilla::Role::File';
__PACKAGE__->meta->make_immutable;
no Moose;
1;

__END__