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.5.1-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.1.rc1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.1.rc1-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc3-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc2-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.5.0.rc1-x86-mingw32 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.0 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.0.rc2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.4.0.rc1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.1.rc3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.1.rc2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.1.rc1 spec/unit/pops/parser/parser_rspec_helper.rb