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.



140
141
142
143
# File 'lib/active_ldap/base.rb', line 140

def initialize(name)
  @name = name
  super("#{@name} is unknown attribute")
end

Instance Attribute Details

#name ⇒ Object (readonly)

Returns the value of attribute name.



139
140
141
# File 'lib/active_ldap/base.rb', line 139

def name
  @name
end