Sha256: 62f015bf100dad1801c3872516cee279cdc8d6a110f300c966db62b7330d7d6e

Contents?: true

Size: 447 Bytes

Versions: 7

Compression:

Stored size: 447 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


    private


    def populate_source_line(model, parsed_model_data)
      model.source_line = parsed_model_data['line']
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cuke_modeler-3.13.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.12.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.11.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.10.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.9.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.8.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-3.7.0 lib/cuke_modeler/sourceable.rb