Exception: ActiveSambaLdap::GidNumberAlreadyExists

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) ⇒ GidNumberAlreadyExists

Returns a new instance of GidNumberAlreadyExists.



41
42
43
44
# File 'lib/active_samba_ldap/base.rb', line 41

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

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



40
41
42
# File 'lib/active_samba_ldap/base.rb', line 40

def number
  @number
end