Module: CucumberAnalytics::Sourceable

Included in:
FeatureElement, Row, Step, TableRow, Tag
Defined in:
lib/cucumber_analytics/sourceable.rb

Overview

A mix-in module containing methods used by elements that know their source code line.

Instance Attribute Summary collapse

Instance Attribute Details

#source_lineObject (readonly)

The line number where the element began in the source code



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

def source_line
  @source_line
end