class LDAP::Mod
Include Treequel-specific extensions as a mixin.
Public Class Methods
new( op, attribute, vals=[] )
click to toggle source
Override the initializer to keep the attribute
around while the object is alive to prevent the underlying C String pointer from going away.
See line 151 of mod.c.
# File lib/treequel/monkeypatches.rb, line 71 def initialize( op, attribute, vals=[] ) @attribute = attribute _initialize_ext( op, attribute, vals ) end
Also aliased as: _initialize_ext