Exception: ActiveSambaLdap::UidNumberAlreadyExists

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(number) ⇒ UidNumberAlreadyExists

Returns a new instance of UidNumberAlreadyExists.



25
26
27
28
# File 'lib/active_samba_ldap/base.rb', line 25

def initialize(number)
  @number = number
  super(_("uid number already exists: %s") % number)
end

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



24
25
26
# File 'lib/active_samba_ldap/base.rb', line 24

def number
  @number
end