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.



254
255
256
257
# File 'lib/active_ldap/base.rb', line 254

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



253
254
255
# File 'lib/active_ldap/base.rb', line 253

def name
  @name
end