Class: Net::LDAP::Entry
- Inherits:
-
Object
- Object
- Net::LDAP::Entry
- Defined in:
- lib/active_ldap/adapter/net_ldap_ext.rb
Instance Method Summary collapse
- #[]=(name, value) ⇒ Object
- #aset_without_original_attribute_names ⇒ Object
-
#initialize(*args) ⇒ Entry
constructor
A new instance of Entry.
- #initialize_without_original_attribute_names ⇒ Object
- #original_attribute_names ⇒ Object
Constructor Details
#initialize(*args) ⇒ Entry
Returns a new instance of Entry
7 8 9 10 |
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 7 def initialize(*args) @original_attribute_names = [] initialize_without_original_attribute_names(*args) end |
Instance Method Details
#[]=(name, value) ⇒ Object
13 14 15 16 |
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 13 def []=(name, value) @original_attribute_names << name aset_without_original_attribute_names(name, value) end |
#aset_without_original_attribute_names ⇒ Object
12 |
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 12 alias aset_without_original_attribute_names []= |
#initialize_without_original_attribute_names ⇒ Object
6 |
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 6 alias initialize_without_original_attribute_names initialize |
#original_attribute_names ⇒ Object
18 19 20 |
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 18 def original_attribute_names @original_attribute_names.compact.uniq end |