Sha256: c8a6a71735714c21666957e3fa19b641bc6286a6ed34d6b06af39770e4deef42
Contents?: true
Size: 531 Bytes
Versions: 7
Compression:
Stored size: 531 Bytes
Contents
module VagrantPlugins module Invade module Validator class SSH attr_accessor :env, :ssh DEFAULT = { 'forward_agent' => true } def initialize(env, ssh) @env = env @ssh = ssh end def validate return DEFAULT unless @ssh @ssh['forward_agent'] = Validator.validate_boolean( @ssh['forward_agent'], 'forward_agent', DEFAULT['forward_agent'] ) @ssh end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems