[#32676] VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex — Phlip <phlip2005@...>
[I will try Bill Kelly's PDB path advice presently; this issue is more
5 messages
2010/10/03
[#32687] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Roger Pack <rogerdpack2@...>
2010/10/04
> This one's about...
[#32703] Re: VC++ embedded rubygems gives NoMethodError undefined method `synchronize' for Mutex
— Phlip <phlip2005@...>
2010/10/05
> > #<NoMethodError: undefined method `synchronize' for #<Mutex:0x750faa8>>
[#32698] [Ruby 1.9-Feature#3908][Open] private constant — Yusuke Endoh <redmine@...>
Feature #3908: private constant
10 messages
2010/10/05
[#32795] Call for Cooperation: CFUNC usage survey — SASADA Koichi <ko1@...>
Hi,
5 messages
2010/10/15
[#32814] WeakHash — Santiago Pastorino <santiago@...>
Hi guys,
6 messages
2010/10/15
[#32844] [Ruby 1.9-Feature#3963][Open] Map class in standard library — Thomas Sawyer <redmine@...>
Feature #3963: Map class in standard library
3 messages
2010/10/18
[#32864] [Ruby 1.9-Bug#3972][Open] r28668 breaks test/unit when combined with the testing rake task — Aaron Patterson <redmine@...>
Bug #3972: r28668 breaks test/unit when combined with the testing rake task
6 messages
2010/10/20
[#32932] Behavior of initialize in 1.9 — Aaron Patterson <aaron@...>
The behavior of initialize in 1.9 seems to have changed. Here is an irb
5 messages
2010/10/28
[#32960] [Ruby 1.9-Bug#4005][Open] YAML fails to roundtrip Time objects — Peter Weldon <redmine@...>
Bug #4005: YAML fails to roundtrip Time objects
6 messages
2010/10/29
[#32976] Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3 — Luis Lavena <luislavena@...>
Hello,
10 messages
2010/10/30
[#32978] Re: Improve MinGW builds for Ruby 1.8.7, 1.9.2 and 1.9.3
— Aaron Patterson <aaron@...>
2010/10/30
On Sun, Oct 31, 2010 at 03:42:02AM +0900, Luis Lavena wrote:
[ruby-core:32797] [Ruby 1.9-Bug#3949][Open] Can predefined classes be removed?
From:
Yuki Sonoda <redmine@...>
Date:
2010-10-15 08:16:58 UTC
List:
ruby-core #32797
Bug #3949: Can predefined classes be removed? http://redmine.ruby-lang.org/issues/show/3949 Author: Yuki Sonoda Status: Open, Priority: Normal Assigned to: Yukihiro Matsumoto, Category: core ruby -v: ruby 1.6.8 (2005-09-21) [i386-darwin9.1.0] According to rdoc, Module#remove_const cannot remove predefined classes: > Predefined classes and singleton objects (such as true) cannot be > removed. But actually we can remove them. $ ruby-1.8.0 -ve 'Object.send(:remove_const, :String); p String' ruby 1.8.0 (2003-08-04) [i686-darwin] -e:1: uninitialized constant String (NameError) $ ruby-1.8.1 -ve 'Object.send(:remove_const, :String); p String' ruby 1.8.1 (2003-12-25) [i686-darwin] -e:1: uninitialized constant String (NameError) ... $ ruby-1.9.1 -ve 'Object.send(:remove_const, :String); p String' ruby 1.9.1p427 (2010-05-23 revision 27982) [i386-darwin9.8.0] -e:1:in `<main>': uninitialized constant String (NameError) $ ruby-1.9.2 -ve 'Object.send(:remove_const, :String); p String' ruby 1.9.2p6 (2010-08-18 revision 29252) [i386-darwin9.8.0] -e:1:in `<main>': uninitialized constant Object::String (NameError) The rdoc seems to be describing Ruby 1.6: ruby-1.6 -ve 'Object.send(:remove_const, :String); p String' $ ruby 1.6.8 (2005-09-21) [i386-darwin9.1.0] -e:1:in `remove_const': cannot remove Object::String (NameError) from -e:1:in `send' from -e:1 This limitation is intended? or is the rdoc wrong? I think we should be able to remove any class on our own risk. ---------------------------------------- http://redmine.ruby-lang.org