Sha256: 59293d0d983b963b04eb8d6f3ae7299486e272c64cec3d632cc1a62cc03b5be7
Contents?: true
Size: 371 Bytes
Versions: 40
Compression:
Stored size: 371 Bytes
Contents
module Vagrant module Config class VagrantConfig < Base attr_accessor :dotfile_name attr_accessor :host def validate(env, errors) [:dotfile_name, :host].each do |field| errors.add(I18n.t("vagrant.config.common.error_empty", :field => field)) if !instance_variable_get("@#{field}".to_sym) end end end end end
Version data entries
40 entries across 40 versions & 6 rubygems