[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23229] [Bug #1386] Spurious class "ARGF.class" in ObjectSpace

From: Brian Candler <redmine@...>
Date: 2009-04-17 09:42:42 UTC
List: ruby-core #23229
Bug #1386: Spurious class "ARGF.class" in ObjectSpace
http://redmine.ruby-lang.org/issues/show/1386

Author: Brian Candler
Status: Open, Priority: Low
ruby -v: ruby 1.8.6 (2008-03-03 patchlevel 114) [i686-linux]

$ ruby19 -e 'ObjectSpace.each_object(Class) { |c| puts c if c.to_s =~ /\./ }'
ARGF.class

However this 'class' is not accessible by name:

$ ruby19 -e 'puts Object.const_get("ARGF.class")'
-e:1:in `const_get': wrong constant name ARGF.class (NameError)
	from -e:1:in `<main>'


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next