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]
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
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
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