[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Re: PATCH: OpenStruct#initialize to yield self

From: nobu.nokada@...
Date: 2004-02-21 02:16:08 UTC
List: ruby-core #2488
Hi,

At Sat, 21 Feb 2004 10:59:12 +0900,
Joel VanderWerf wrote in [ruby-core:02486]:
> That's true. The point is that in the former case, r goes out of scope 
> when the block is done.

That r is the just created instance, isn't it?  I don't want it
to be collected.

-- 
Nobu Nakada

In This Thread