Sha256: 8c6cba65f45ad7900877e08821394a72370a368f6326644f5b8e9af99d3004ce
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
require 'vagrant' module VagrantWizard class Config < Vagrant.plugin('2', :config) attr_accessor :wizard_path attr_accessor :defaults_path attr_accessor :config_path attr_accessor :prompt_presets attr_accessor :presets_dir_path attr_accessor :prompt_overwrite def initialize @wizard_path = UNSET_VALUE @defaults_path = UNSET_VALUE @config_path = UNSET_VALUE @prompt_presets = UNSET_VALUE @presets_dir_path = UNSET_VALUE @prompt_overwrite = UNSET_VALUE end def finalize! @wizard_path = './config.wizard.yml' if @wizard_path == UNSET_VALUE @defaults_path = './config.defaults.yml' if @defaults_path == UNSET_VALUE @config_path = './config.yml' if @config_path == UNSET_VALUE @prompt_presets = true if @prompt_presets == UNSET_VALUE @presets_dir_path = './wizard-presets' if @presets_dir_path == UNSET_VALUE @prompt_overwrite = true if @prompt_overwrite == UNSET_VALUE end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-wizard-0.3.0 | lib/vagrant-wizard/config.rb |