class ActiveLdap::Ldif::ChangeRecord
Attributes
Public Class Methods
Source
# File lib/active_ldap/ldif.rb, line 675 def initialize(dn, attributes, controls, change_type) super(dn, attributes) @controls = controls @change_type = change_type end
Calls superclass method
ActiveLdap::Ldif::Record::new
Public Instance Methods
Source
# File lib/active_ldap/ldif.rb, line 701 def ==(other) super(other) and @controls = other.controls and @change_type == other.change_type end
Calls superclass method
ActiveLdap::Ldif::Record#==
Source
# File lib/active_ldap/ldif.rb, line 693 def modify_dn? @change_type == "moddn" end
Source
# File lib/active_ldap/ldif.rb, line 697 def modify_rdn? @change_type == "modrdn" end
Private Instance Methods
Source
# File lib/active_ldap/ldif.rb, line 716 def to_s_content result = "changetype: #{@change_type}\n" result << super result end
Calls superclass method
ActiveLdap::Ldif::Record#to_s_content
Source
# File lib/active_ldap/ldif.rb, line 708 def to_s_prelude result = super @controls.each do |control| result << control.to_s end result end
Calls superclass method
ActiveLdap::Ldif::Record#to_s_prelude