[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: [ ruby-Bugs-7253 ] Sets and String subclasses

From: murphy <murphy@...>
Date: 2006-12-13 17:39:35 UTC
List: ruby-core #9714
> I would expect the second puts to return 5, not nil.  In fact, I'd expect s.to_a[0] to return the same object as a.
no problem with the subclass. the problem is here:

require 'set'
a = 'test'  # => "test"
a.object_id  # => 931080
Set[a].to_a.first.object_id  # => 931110

why does Set duplicate its elements? Hash and Array don't do this.
[murphy]

In This Thread