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