Test::BDD::Cucumber::Model::Line - Model to represent a line in a feature file
version 0.73
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
[String]
Return true if the line is either blank, or is a comment.
Peter Sergeant pete@clueball.com
pete@clueball.com
Copyright 2019-2020, Erik Huelsmann Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
To install Test::BDD::Cucumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber
For more information on module installation, please visit the detailed CPAN module installation guide.