Sha256: c454331efb3c4e4c998d5410a0beb4c9ea7ca3b518ef0fe036210bb43b8352a4
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
module MelissaData::VagrantPlugin # A configuration class to configure defaults which are used for MelissaData::VagrantPlugin class Config < ::Vagrant::Config::Base configures :melissadata attr_accessor :target_path attr_accessor :source_path def initialize @target_path = '/opt/melissadata' end def validate(errors) errors.add(I18n.t("vagrant.plugins.melissadata.config_directory")) if target_path && !target_path.is_a?(String) end end end
Version data entries
6 entries across 6 versions & 1 rubygems