class ActiveLdap::Ldif::ChangeRecord

Attributes

change_type[R]
controls[R]

Public Class Methods

new(dn, attributes, controls, change_type) click to toggle source
# File lib/active_ldap/ldif.rb, line 669
def initialize(dn, attributes, controls, change_type)
  super(dn, attributes)
  @controls = controls
  @change_type = change_type
end

Public Instance Methods

==(other) click to toggle source
# File lib/active_ldap/ldif.rb, line 695
def ==(other)
  super(other) and
    @controls = other.controls and
    @change_type == other.change_type
end
add?() click to toggle source
# File lib/active_ldap/ldif.rb, line 675
def add?
  @change_type == "add"
end
delete?() click to toggle source
# File lib/active_ldap/ldif.rb, line 679
def delete?
  @change_type == "delete"
end
modify?() click to toggle source
# File lib/active_ldap/ldif.rb, line 683
def modify?
  @change_type == "modify"
end
modify_dn?() click to toggle source
# File lib/active_ldap/ldif.rb, line 687
def modify_dn?
  @change_type == "moddn"
end
modify_rdn?() click to toggle source
# File lib/active_ldap/ldif.rb, line 691
def modify_rdn?
  @change_type == "modrdn"
end