Sha256: 15e83207d7a9eab0b04aeb079cbae0337667dd8aba92c24d124fb68584f986b1
Contents?: true
Size: 392 Bytes
Versions: 24
Compression:
Stored size: 392 Bytes
Contents
module Vagrant class Config class VagrantConfig < Base configures :vagrant attr_accessor :dotfile_name attr_accessor :host def validate(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
24 entries across 24 versions & 4 rubygems