From: Kent Dahl Date: 2003-05-11T18:52:26+09:00 Subject: Re: Where can I find doc on Ruby library? Robo wrote: > > I looked through my windows installation of Ruby, in the lib dir, there're a > bunch of Ruby lib files, but I can't seem to find any documentation for > them. > > http://www.rubycentral.com/ref/index.html > > doesn't have docs for those classes. That reference is just the built-in classes and modules, so they aren't supposed to be documented there. You want documentation for the standard library. Go to http://www.rubycentral.com/book/index.html and click in on "Standard Library" http://www.rubycentral.com/book/lib_standard.html > In particular, I'm hoping to find some sort of Date object, that I can feed > in a date/time say "3:25 am", and tell it to return it in a suitable format. > In PHP I would use a combination of strtotime() and date() > > http://www.php.net/manual/en/function.strtotime.php > http://www.php.net/manual/en/function.date.php > > I think Date/ParseDate does something similar, but I dunno how to use them. See above. > Also, looking for some instructions on how to use the http/ftp classes under > the net folder. And those would be documented in another chapter of the Pickaxe, "Network and Web Libraries": http://www.rubycentral.com/book/lib_network.html HTH -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)