[libxml-devel] Changing node equality
Charlie Savage
cfis at savagexi.com
Wed Jul 9 04:41:10 EDT 2008
> Actually, how about this (pseudo):
>
> def ==(arg)
> if arg.kind_of? XML::Node
> return true if self.id == arg.id
> else
> return true if self.to_s == arg
> end
> end
Deal - I'll do that.
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20080709/ae03588a/attachment.bin>
More information about the libxml-devel
mailing list