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.



156
157
158
159
# File 'lib/active_ldap/base.rb', line 156

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



155
156
157
# File 'lib/active_ldap/base.rb', line 155

def name
  @name
end