Fix plugin loading from YARD

This patch fixes an error related to `Puppet::Util` being missing when YARD
loads `puppetx/yardoc/yard/plugin`.
This commit is contained in:
Charlie Sharpsteen 2014-05-28 00:06:04 -07:00
parent d6a4791c30
commit e98761100d
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ if RUBY_VERSION < '1.9'
require 'backports/1.9.1/kernel/require_relative'
end
require 'puppet'
require_relative 'monkey_patches'
require_relative 'parser'
require_relative 'handlers'