Sha256: a99107de83523fd8b1346849e9263ca23ecbe107a0b1c457cd1566a1eaa100bc
Contents?: true
Size: 610 Bytes
Versions: 7
Compression:
Stored size: 610 Bytes
Contents
module CukeModeler # 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. module Sourceable # The line number where the element began in the source code attr_accessor :source_line # The column number where the element began in the source code attr_accessor :source_column private def populate_source_location(model, parsed_model_data) model.source_line = parsed_model_data['line'] model.source_column = parsed_model_data['column'] end end end
Version data entries
7 entries across 7 versions & 1 rubygems