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

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



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

def source_line
  @source_line
end