Sha256: 4858d053ac3838e64bede6de692a6d47ed58b86837334e784b5fff666ee079cf

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

module CukeModeler

  # NOT A PART OF THE PUBLIC API
  # A mix-in module containing methods used by models that are parsed from source text.

  module Parsed

    # The parsing data for this element that was generated by the parsing engine (i.e. the *gherkin* gem)
    attr_accessor :parsing_data


    private


    def populate_parsing_data(model, parsed_model_data)
      model.parsing_data = parsed_model_data['cuke_modeler_parsing_data']
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cuke_modeler-3.6.0 lib/cuke_modeler/parsed.rb
cuke_modeler-3.5.0 lib/cuke_modeler/parsed.rb
cuke_modeler-3.4.0 lib/cuke_modeler/parsed.rb