Exception: ActiveLdap::UnknownAttribute

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetTextSupport

included

Constructor Details

#initialize(name) ⇒ UnknownAttribute

Returns a new instance of UnknownAttribute.



248
249
250
251
# File 'lib/active_ldap/base.rb', line 248

def initialize(name)
  @name = name
  super(_("%s is unknown attribute") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



247
248
249
# File 'lib/active_ldap/base.rb', line 247

def name
  @name
end