Sha256: 0183f1e349cf1e041db9cadfaea8bb7f0c0830584476d09f105369b457e6fa14

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true
require 'tempfile'

module PuppetDebugger
  module Support
    module Compilier
      def create_compiler(node)
        Puppet::Parser::Compiler.new(node)
      end

      def compiler
        @compiler ||= create_compiler(node)
      end

      def set_compiler(value)
        @compiler = value
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-debugger-0.6.1 lib/puppet-debugger/support/compiler.rb
puppet-debugger-0.6.0 lib/puppet-debugger/support/compiler.rb
puppet-debugger-0.5.1 lib/puppet-debugger/support/compiler.rb