table of contents
Test::BDD::Cucumber::Model::Line(3pm) | User Contributed Perl Documentation | Test::BDD::Cucumber::Model::Line(3pm) |
NAME¶
Test::BDD::Cucumber::Model::Line - Model to represent a line in a feature fileVERSION¶
version 0.50DESCRIPTION¶
Model to represent a line in a feature fileATTRIBUTES¶
number¶
The line number this line representsdocument¶
The Test::BDD::Cucumber::Model::Document object this line belongs to.raw_content¶
The content of the line, unmodifiedMETHODS¶
indent¶
Returns the number of preceding spaces before content on a linecontent¶
Returns the line's content, with the indentation strippedcontent_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 numberfilename¶
Returns either the filename, or the string "[String]" if the document was loaded from a stringis_blank¶
is_comment¶
Return true if the line is either blank, or is a comment.AUTHOR¶
Peter Sergeant "pete@clueball.com"LICENSE¶
Copyright 2011-2016, Peter Sergeant; Licensed under the same terms as Perl2016-05-03 | perl v5.22.2 |