Exception: ActiveLdap::UnknownAttribute

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ UnknownAttribute

Returns a new instance of UnknownAttribute



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

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



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

def name
  @name
end