Re: [libxml-devel] Return value of XML::Node#<

2006-10-30 Thread Ross Bamford
On Sun, 29 Oct 2006 13:56:17 -, Masashi Shimbo <[EMAIL PROTECTED]> wrote: > Hello, > > I noticed that libxml-ruby 0.3.8's method XML::Node#<<(child) > returns 'child' instead of 'self'. > Okay, this is now fixed up in DEV_0_4. Thanks again, -- Ross Bamford - [EMAIL PROTECTED]

Re: [libxml-devel] Return value of XML::Node#<

2006-10-29 Thread Mark Van Holstyn
I agree with this change. I think it would be one step to make the API a little nice and more consistent.MarkOn 10/29/06, Ross Bamford < [EMAIL PROTECTED]> wrote:On Sun, 29 Oct 2006 13:56:17 -, Masashi Shimbo < [EMAIL PROTECTED]>wrote:> Hello,>> I noticed that libxml-ruby 0.3.8's method XML::No

Re: [libxml-devel] Return value of XML::Node#<

2006-10-29 Thread Ross Bamford
On Sun, 29 Oct 2006 13:56:17 -, Masashi Shimbo <[EMAIL PROTECTED]> wrote: > Hello, > > I noticed that libxml-ruby 0.3.8's method XML::Node#<<(child) > returns 'child' instead of 'self'. > > This is inconsistent with the typical behavior one would expect from the > << operator; '<<' for Array

[libxml-devel] Return value of XML::Node#<

2006-10-29 Thread Masashi Shimbo
Hello, I noticed that libxml-ruby 0.3.8's method XML::Node#<<(child) returns 'child' instead of 'self'. This is inconsistent with the typical behavior one would expect from the << operator; '<<' for Array, IO, and Set all return 'self', which makes it easy to add multiple elements with a one-line