Sha256: ac1f0819f08228ec82132ccbd611fb71efe77e99b7f67f7494cd4ab3ac7b615e
Contents?: true
Size: 674 Bytes
Versions: 1
Compression:
Stored size: 674 Bytes
Contents
module VagrantPlugins module Invade module Validator module Plugin class HostManager attr_accessor :env attr_accessor :hostmanager DEFAULT = { 'aliases' => nil } def initialize(env, hostmanager) @env = env @hostmanager = hostmanager end def validate return nil unless @hostmanager # ALIASES @hostmanager['aliases'] = Validator.validate_array( @hostmanager['aliases'], 'aliases', DEFAULT['aliases'] ) @hostmanager end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-invade-0.5.5 | lib/vagrant-invade/validator/plugin/hostmanager.rb |