module CukeModeler::Sourceable

@api private

A mix-in module containing methods used by models that know from which line of source code they originate. Internal helper class.

Attributes

source_column[RW]

@api

The column number where the element began in the source code

source_line[RW]

@api

The line number where the element began in the source code

Private Instance Methods

populate_source_location(parsed_model_data) click to toggle source
# File lib/cuke_modeler/sourceable.rb, line 23
def populate_source_location(parsed_model_data)
  @source_line = parsed_model_data['line']
  @source_column = parsed_model_data['column']
end