Sha256: 8a86567371634144a7d1f316b270f2fecbe83d9755270a8564fab0d57290834a
Contents?: true
Size: 541 Bytes
Versions: 24
Compression:
Stored size: 541 Bytes
Contents
module ConfigBuilder # Welcome to hell. # @api private class ExtensionHandler def initialize @logger = Log4r::Logger.new('vagrant::config_builder::extension_handler') end def load_from_plugins Vagrant.plugin('2').manager.registered.each do |plugin| load_plugin(plugin) end end def load_plugin(plugin) if plugin.respond_to? :config_builder_hook @logger.info "Loading config_builder extension #{plugin.inspect}" plugin.config_builder_hook end end end end
Version data entries
24 entries across 24 versions & 2 rubygems