| Class | ActiveLdap::Ldif::ChangeRecord |
| In: |
lib/active_ldap/ldif.rb
|
| Parent: | Record |
| change_type | [R] | |
| controls | [R] |
# File lib/active_ldap/ldif.rb, line 669
669: def initialize(dn, attributes, controls, change_type)
670: super(dn, attributes)
671: @controls = controls
672: @change_type = change_type
673: end
# File lib/active_ldap/ldif.rb, line 695
695: def ==(other)
696: super(other) and
697: @controls = other.controls and
698: @change_type == other.change_type
699: end
# File lib/active_ldap/ldif.rb, line 691
691: def modify_rdn?
692: @change_type == "modrdn"
693: end
# File lib/active_ldap/ldif.rb, line 710
710: def to_s_content
711: result = "changetype: #{@change_type}\n"
712: result << super
713: result
714: end