Sha256: c0971c38327068aeeaaa38d89db9d78d62831a3c71a8f12cb889fa9c719407be
Contents?: true
Size: 495 Bytes
Versions: 1
Compression:
Stored size: 495 Bytes
Contents
require "vagrant" module VagrantPlugins module PluginBundler class Config < Vagrant.plugin("2", :config) attr_reader :dependencies def initialize() @dependencies = {} end def depend(name, version) if @dependencies[name] # raise early here because our hook has to run BEFORE validation raise Errors::DuplicatePluginDefinitionError, :plugin => name end @dependencies[name] = version end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-plugin-bundler-0.1.0 | lib/vagrant-plugin-bundler/config.rb |