Class: ActiveSambaLdap::Configuration::ClassMethods::ValidHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/active_samba_ldap/configuration.rb

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object



43
44
45
46
47
48
# File 'lib/active_samba_ldap/configuration.rb', line 43

def [](name)
  if Private.required_variables.include?(name) and !has_key?(name)
    raise MissingRequiredVariableError.new(name)
  end
  super(name)
end