Module: CukeModeler::Sourceable Private
- Included in:
- Background, Cell, Comment, DocString, Example, Feature, Outline, Row, Rule, Scenario, Step, Table, Tag
- Defined in:
- lib/cuke_modeler/sourceable.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
A mix-in module containing methods used by models that know from which line of source code they originate. Internal helper class.
Instance Attribute Summary collapse
-
#source_column ⇒ Object
The column number where the element began in the source code.
-
#source_line ⇒ Object
The line number where the element began in the source code.
Instance Attribute Details
#source_column ⇒ Object
The column number where the element began in the source code
17 18 19 |
# File 'lib/cuke_modeler/sourceable.rb', line 17 def source_column @source_column end |
#source_line ⇒ Object
The line number where the element began in the source code
12 13 14 |
# File 'lib/cuke_modeler/sourceable.rb', line 12 def source_line @source_line end |