---
name: "Test::BDD::Cucumber::Model::Document"
section: "3pm"
platform: "linux"
package: "libtest-bdd-cucumber-perl"
version: "0.87-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::BDD::Cucumber::Model::Document"
---

# Test::BDD::Cucumber::Model::Document(3pm)

Model to represent a feature file on disk or in memory

## NAME

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

## VERSION

version 0.87

## 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 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
```
