Class: Net::LDAP::Entry — activeldap - ActiveLdap

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

- (Entry) initialize(*args)

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

- (Object) []=(name, value)



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

- (Object) aset_without_original_attribute_names



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

alias aset_without_original_attribute_names []=

- (Object) initialize_without_original_attribute_names



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

alias initialize_without_original_attribute_names initialize

- (Object) original_attribute_names



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

def original_attribute_names
  @original_attribute_names.compact.uniq
end