| Class | ActiveLdap::Ldif::ChangeRecord |
| In: |
lib/active_ldap/ldif.rb
|
| Parent: | Record |
| change_type | [R] | |
| controls | [R] |
# File lib/active_ldap/ldif.rb, line 641
641: def initialize(dn, attributes, controls, change_type)
642: super(dn, attributes)
643: @controls = controls
644: @change_type = change_type
645: end
# File lib/active_ldap/ldif.rb, line 667
667: def ==(other)
668: super(other) and
669: @controls = other.controls and
670: @change_type == other.change_type
671: end
# File lib/active_ldap/ldif.rb, line 663
663: def modify_rdn?
664: @change_type == "modrdn"
665: end
# File lib/active_ldap/ldif.rb, line 682
682: def to_s_content
683: result = "changetype: #{@change_type}\n"
684: result << super
685: result
686: end