Sha256: d55512280f13a2a523894ec9503f57aa2b48012e0c27969a4665abc894eae972
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 Bytes
Contents
require 'vagrant' require 'uri' require 'pe_build' class PEBuild::Config < Vagrant::Config::Base attr_writer :download_root attr_writer :version attr_writer :filename def download_root @download_root end def version @version end def filename @filename end def validate(env, errors) URI.parse(download_root) rescue # TODO I18n errors.add("Invalid download root '#{download_root.inspect}'") end end Vagrant.config_keys.register(:pe_build) { PEBuild::Config }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-pe_build-0.0.2 | lib/pe_build/config.rb |
vagrant-pe_build-0.0.1 | lib/pe_build/config.rb |