Exception: ActiveSambaLdap::InvalidConfigurationValueError

Inherits:
Error
  • Object
show all
Defined in:
lib/active_samba_ldap/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetTextSupport

included

Constructor Details

#initialize(name, value, detail) ⇒ InvalidConfigurationValueError

Returns a new instance of InvalidConfigurationValueError.



98
99
100
101
102
103
104
# File 'lib/active_samba_ldap/base.rb', line 98

def initialize(name, value, detail)
  @name = name
  @value = value
  @detail = detail
  format = _("the value of %s '%s' is invalid: %s")
  super(format % [name, value.inspect, detail])
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



97
98
99
# File 'lib/active_samba_ldap/base.rb', line 97

def detail
  @detail
end

#nameObject (readonly)

Returns the value of attribute name.



97
98
99
# File 'lib/active_samba_ldap/base.rb', line 97

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



97
98
99
# File 'lib/active_samba_ldap/base.rb', line 97

def value
  @value
end