Class: Net::LDAP::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/active_ldap/adapter/net_ldap_ext.rb

Instance Method Summary collapse

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_namesObject



12
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 12

alias aset_without_original_attribute_names []=

#initialize_without_original_attribute_namesObject



6
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 6

alias initialize_without_original_attribute_names initialize

#original_attribute_namesObject



18
19
20
# File 'lib/active_ldap/adapter/net_ldap_ext.rb', line 18

def original_attribute_names
  @original_attribute_names.compact.uniq
end