Module: CukeModeler::Sourceable

Included in:
Background, Cell, Comment, DocString, Example, Feature, Outline, Row, Scenario, Step, Table, Tag
Defined in:
lib/cuke_modeler/sourceable.rb

Overview

NOT A PART OF THE PUBLIC API A mix-in module containing methods used by models that know from which line of source code they originate.

Instance Attribute Summary collapse

Instance Attribute Details

#source_lineObject

The line number where the element began in the source code



10
11
12
# File 'lib/cuke_modeler/sourceable.rb', line 10

def source_line
  @source_line
end