[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Any reason 'Core API Docs' include non-core classes?

Gyoung-Yoon Noh

12/24/2005 9:13:00 PM

Hi,

I have wondered why 'Core API Docs'[1] include non-core classes following:

Abbrev
Benchmark
Benchmark::Tms
CGI
ConditionVariable
Find
Logger
Logger::Application
Logger::Error
Logger::LogDevice
Logger::Severity
Logger::ShiftingError
Matrix
Mutex
Observable
Pathname
Queue
Set
Shellwords
Singleton
SingletonClassMethods
SizedQueue
SortedSet
Tempfile
ThreadsWait
Vector
YAML

Any reason why those classes are included in 'Core API Docs'?

[1]: http://ruby-doc...

--
http://nohmad.su...


2 Answers

james_b

12/24/2005 10:54:00 PM

0

Gyoung-Yoon Noh wrote:
> Hi,
>
> I have wondered why 'Core API Docs'[1] include non-core classes following:
>
...
>
> Any reason why those classes are included in 'Core API Docs'?

Coincidence? The core rdocs are the result of running rdoc over the
main source dir. There are few things in there that are not actually
core libs, but get pulled into the rdoc anyway.

I would much prefer if all classes/modules were in the same rdoc space,
with the docs for each file indicating what, if any, 'require' call is
needed, but rdoc is fairly limited.

One should not have to know if a library is part of the core API or the
standard library or some middle world in order to use the rdocs for the
standard distro.

James

--

http://www.ru... - Ruby Help & Documentation
http://www.artima.c... - Ruby Code & Style: Writers wanted
http://www.rub... - The Ruby Store for Ruby Stuff
http://www.jame... - Playing with Better Toys
http://www.30seco... - Building Better Tools


Ross Bamford

12/24/2005 11:13:00 PM

0

On Sat, 24 Dec 2005 22:54:14 -0000, James Britt <james_b@neurogami.com>
wrote:

> One should not have to know if a library is part of the core API or the
> standard library or some middle world in order to use the rdocs for the
> standard distro.
>

After initially exploring it, I forgot all about it and probably respoked
a few wheels before I was reminded (here) the other day that the standard
library existed. I tend to selectively forget stuff and surf the doc when
I need it, so I'd definitely favour a single doc set too...

--
Ross Bamford - rosco@roscopeco.remove.co.uk