[#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,

[ ruby-Bugs-7253 ] Sets and String subclasses

From: <noreply@...>
Date: 2006-12-13 17:26:05 UTC
List: ruby-core #9713
Bugs item #7253, was opened at 2006-12-13 12:26
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7253&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tim Smith (tsmith)
Assigned to: Nobody (None)
Summary: Sets and String subclasses

Initial Comment:
In Ruby 1.8.4, 1.8.5, and as of 1.9.0 (2006-04-15):

class A < String
  attr_accessor :x
end

a = A.new 'hello'
a.x = 5
s = Set[a]
puts a.x # => 5
puts s.to_a[0].x # => nil

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.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7253&group_id=426

In This Thread

Prev Next