Class Index [+]

Quicksearch

ActiveLdap::Ldif::ChangeRecord

Attributes

controls[R]
change_type[R]

Public Class Methods

new(dn, attributes, controls, change_type) click to toggle source
     # 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

Public Instance Methods

==(other) click to toggle source
     # 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
add?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 675
675:       def add?
676:         @change_type == "add"
677:       end
delete?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 679
679:       def delete?
680:         @change_type == "delete"
681:       end
modify?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 683
683:       def modify?
684:         @change_type == "modify"
685:       end
modify_dn?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 687
687:       def modify_dn?
688:         @change_type == "moddn"
689:       end
modify_rdn?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 691
691:       def modify_rdn?
692:         @change_type == "modrdn"
693:       end

Private Instance Methods

to_s_content() click to toggle source
     # 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
to_s_prelude() click to toggle source
     # File lib/active_ldap/ldif.rb, line 702
702:       def to_s_prelude
703:         result = super
704:         @controls.each do |control|
705:           result << control.to_s
706:         end
707:         result
708:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.