[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: [ ruby-Bugs-4060 ] Array#- fails on arrays of user-defined classes

From: "Nobuyoshi Nakada" <nobu@...>
Date: 2006-04-11 00:15:35 UTC
List: ruby-core #7707
HI,

2006/4/11, noreply@rubyforge.org <noreply@rubyforge.org>:
> Summary: Array#- fails on arrays of user-defined classes
>
> Initial Comment:
> Array#- does't appear to use ==, === or eql?.  I think it uses something below the ruby level.

It uses hash to get unique elements, so you have to re-define #hash
and #eql? methods properly.

--
nobu.nakada


In This Thread

Prev Next