The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::BDD::Cucumber::Model::Document - Model to represent a feature file on disk or in memory

VERSION

version 0.08

DESCRIPTION

Model to represent a feature file on disk or in memory

ATTRIBUTES

filename

The filename from which the document was loaded.

content

The file contents, as a string

lines

The file contents, as an arrayref of Test::BDD::Cucumber::Model::Line objects

OTHER

BUILD

The instantiation populates lines() by splitting the input on newlines.

AUTHOR

Peter Sergeant pete@clueball.com

LICENSE

Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl