module CukeModeler::Sourceable

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.

Attributes

source_line[RW]

The line number where the element began in the source code

Private Instance Methods

populate_source_line(model, parsed_model_data) click to toggle source
# File lib/cuke_modeler/sourceable.rb, line 15
def populate_source_line(model, parsed_model_data)
  model.source_line = parsed_model_data['line']
end