Test::BDD::Cucumber::Model::Line
Model to represent a line in a feature file
- Provided by: libtest-bdd-cucumber-perl (Version: 0.87-1)
- Report a bug
Model to represent a line in a feature file
version 0.87
Model to represent a line in a feature file
The line number this line represents
The Test::BDD::Cucumber::Model::Document object this line belongs to.
The content of the line, unmodified
Returns the number of preceding spaces before content on a line
Returns the line's content, with the indentation stripped
Accepts an int of number of spaces, and returns the content with exactly that many preceding spaces removed.
Returns a string with the filename and line number
Returns either the filename, or the string "[String]" if the document was loaded from a string
Return true if the line is either blank, or is a comment.
Peter Sergeant "pete@clueball.com"
Copyright 2019-2023, Erik Huelsmann Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl