module CucumberAnalytics::Sourceable

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

Attributes

source_line[R]

The line number where the element began in the source code

Private Instance Methods

populate_element_source_line(parsed_element) click to toggle source
# File lib/cucumber_analytics/sourceable.rb, line 15
def populate_element_source_line(parsed_element)
  @source_line = parsed_element['line']
end