Class | ActiveLdap::Ldif::ModifyRecord |
In: |
lib/active_ldap/ldif.rb
|
Parent: | ChangeRecord |
operations | [R] |
# File lib/active_ldap/ldif.rb, line 837 837: def initialize(dn, controls=[], operations=[]) 838: super(dn, {}, controls, "modify") 839: @operations = operations 840: end
# File lib/active_ldap/ldif.rb, line 846 846: def <<(operation) 847: @operations << operation 848: end
# File lib/active_ldap/ldif.rb, line 855 855: def ==(other) 856: super(other) and @operations == other.operations 857: end
# File lib/active_ldap/ldif.rb, line 850 850: def add_operation(type, attribute, options, attributes) 851: klass = self.class.const_get("#{type.to_s.capitalize}Operation") 852: self << klass.new(attribute, options, attributes) 853: end
# File lib/active_ldap/ldif.rb, line 842 842: def each(&block) 843: @operations.each(&block) 844: end