Sha256: 5de4600b2c833a976259f1f636d0919a38632d2fea4892cdac94ec9018500386

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

module CukeModeler

  # @api private
  #
  # A class providing some basic and common adapter functionality. Internal helper class.
  class GherkinBaseAdapter

    private

    def save_original_data(adapted_ast, raw_ast)
      adapted_ast['cuke_modeler_parsing_data'] = Marshal.load(Marshal.dump(raw_ast))
    end

  end

  private_constant :GherkinBaseAdapter
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cuke_modeler-3.23.0 lib/cuke_modeler/adapters/gherkin_base_adapter.rb
cuke_modeler-3.22.0 lib/cuke_modeler/adapters/gherkin_base_adapter.rb
cuke_modeler-3.21.0 lib/cuke_modeler/adapters/gherkin_base_adapter.rb
cuke_modeler-3.20.1 lib/cuke_modeler/adapters/gherkin_base_adapter.rb