---
name: "Test::BDD::Cucumber::Model::Line"
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::Line"
---

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

Model to represent a line in a feature file

## NAME

Test::BDD::Cucumber::Model::Line - Model to represent a line in a feature file

## VERSION

version 0.87

## DESCRIPTION

Model to represent a line in a feature file

## ATTRIBUTES

### number

The line number this line represents

### document

The Test::BDD::Cucumber::Model::Document object this line belongs to.

### raw\_content

The content of the line, unmodified

## METHODS

### indent

Returns the number of preceding spaces before content on a line

### content

Returns the line's content, with the indentation stripped

### content\_remove\_indentation

Accepts an int of number of spaces, and returns the content with exactly that many preceding spaces removed.

### debug\_summary

Returns a string with the filename and line number

### filename

Returns either the filename, or the string `"[String]"` if the document was loaded from a string

### is\_blank

### is\_comment

Return true if the line is either blank, or is a comment.

## AUTHOR

Peter Sergeant `"pete@clueball.com"`

## LICENSE

```
  Copyright 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
```
