Module: PuppetRepl::Support::Compilier

Included in:
PuppetRepl::Support
Defined in:
lib/puppet-repl/support/compiler.rb

Instance Method Summary collapse

Instance Method Details

#compilerObject



10
11
12
# File 'lib/puppet-repl/support/compiler.rb', line 10

def compiler
  @compiler
end

#create_compiler(node) ⇒ Object



6
7
8
# File 'lib/puppet-repl/support/compiler.rb', line 6

def create_compiler(node)
  Puppet::Parser::Compiler.new(node)
end

#set_compiler(value) ⇒ Object



14
15
16
# File 'lib/puppet-repl/support/compiler.rb', line 14

def set_compiler(value)
  @compiler = value
end