Time: safe way to go to next day?

Quoting Emmanuel Touzery emmanuel.touzery@wanadoo.fr:

but where is all this stuff documented?
find.rb, base64.rb, date.rb, the other day someone wanted to remove
recursively a dir, and was given another one of those magic files…
which doc did i miss? :O(

Ruby has:
a, built-in classes (e.g. Array, String, Time etc.)
b, standard library (organized in files and modules - e.g. date.rb)

Pickaxe has a chapter on the standard library and another one on the network
library. Unfortunately it is not complete (and situation became worse with
1.8). Anyway browsing Ruby directory is a good learning exercise.

Dalibor

···


Dalibor Sramek insula.cz | In the eyes of cats,
dalibor.sramek@insula.cz | all things belong to cats.