Test::BDD::Cucumber::Model::Line - Model to represent a line in a feature file
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.
Copyright 2011-2014, Peter Sergeant; Licensed under the same terms as Perl