Sha256: 7db34edab21e92fc1bd6d3ab46f8ef420ddfae4633245c817965a9cfb83b0c5f

Contents?: true

Size: 254 Bytes

Versions: 91

Compression:

Stored size: 254 Bytes

Contents

require 'puppet/pops'

require File.join(File.dirname(__FILE__), '/../factory_rspec_helper')

module ParserRspecHelper
  include FactoryRspecHelper
  def parse(code)
    parser = Puppet::Pops::Parser::Parser.new()
    parser.parse_string(code)
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
puppet-3.8.4 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.4-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.4-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.3-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.3-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.3-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.3-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.2-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.2-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.2-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.8.2-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.1-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.1-x64-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.0 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-4.2.0-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb