Two different CGI classes in stdlib?

W

William Webber

Hi all!

I'm helping to RDoc stdlib for the ruby-doc project. I
notice that there are two CGI libraries, cgi-lib.rb and
cgi.rb, both of which define a class called "CGI". What is
the status of the two libraries?

rdoc gets confused by this when you try to generate RDoc
documentation for the stdlib; it lumps both versions of the
CGI class together as one class, so you end up with lots of
constants and methods being documented (differently) twice.

Is cgi-lib.rb only included for backwards compatibility?
Can we exclude it from RDoc?

Thanks,

William
 
Y

Yukihiro Matsumoto

Hi,

In message "Two different CGI classes in stdlib?"

|Is cgi-lib.rb only included for backwards compatibility?
|Can we exclude it from RDoc?

cgi-lib is obsoleted. It should be fade away in the future.

matz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,109
Messages
2,570,671
Members
47,262
Latest member
EffiePju4

Latest Threads

Top