[#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: Change to #new (was OpenStruct#initialize to yield self)

From: nobu.nokada@...
Date: 2004-02-20 23:15:47 UTC
List: ruby-core #2481
Hi,

At Sat, 21 Feb 2004 05:19:29 +0900,
Austin Ziegler wrote in [ruby-core:02479]:
> So if we're yielding *and* calling the super of the method, we have to call 
> super {} unless we want the super to yield as well.

It passes empty block to super, or you can pass no block by
super(&nil).

-- 
Nobu Nakada

In This Thread