Parent

Class Index [+]

Quicksearch

ActiveLdap::Ldif::ModifyRecord::Operation

Attributes

type[R]
attribute[R]
options[R]
attributes[R]

Public Class Methods

new(type, attribute, options, attributes) click to toggle source
     # File lib/active_ldap/ldif.rb, line 872
872:         def initialize(type, attribute, options, attributes)
873:           @type = type
874:           @attribute = attribute
875:           @options = options
876:           @attributes = attributes
877:         end

Public Instance Methods

==(other) click to toggle source
     # File lib/active_ldap/ldif.rb, line 900
900:         def ==(other)
901:           other.is_a?(self.class) and
902:             @type == other.type and
903:             full_attribute_name == other.full_attribute_name and
904:             Attributes.normalize(@attributes) ==
905:             Attributes.normalize(other.attributes)
906:         end
add?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 883
883:         def add?
884:           @type == "add"
885:         end
delete?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 887
887:         def delete?
888:           @type == "delete"
889:         end
full_attribute_name() click to toggle source
     # File lib/active_ldap/ldif.rb, line 879
879:         def full_attribute_name
880:           [@attribute, *@options].join(";")
881:         end
replace?() click to toggle source
     # File lib/active_ldap/ldif.rb, line 891
891:         def replace?
892:           @type == "replace"
893:         end
to_s() click to toggle source
     # File lib/active_ldap/ldif.rb, line 895
895:         def to_s
896:           Attribute.encode(@type, full_attribute_name) +
897:             Attributes.encode(@attributes)
898:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.