[#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: deprecate cgi-lib, getopts, importenv, parsearg from standard library

From: Austin Ziegler <austin@...>
Date: 2004-02-12 21:42:05 UTC
List: ruby-core #2417
On Thu, 12 Feb 2004 22:02:47 +0900, Gavin Sinclair wrote:
> +warn "Warning: getopts is deprecated after Ruby 1.8.1; use getoptlong or
> optparse instead" +

Do we want to support both of these, as well? IMO, we should recommend "best 
of breed" for this, not two different libraries. The recommendation should 
be, IMO, OptionParser.

-austin
--
austin ziegler    * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2004.02.12
                                         * 16.29.44




In This Thread