On 10/25/07, Casimir <pikEISPAMMMseli / welho.com> wrote:
> What units does it output - with .to_f or .to_i?
>
> Doesn't seem to be milliseconds. I could be wrong. Ruby-doc dogged me.
> Google said Jack Ruby was writing letters to his brother Earl and
> suggested japanese. :D
>
> I yam confused. Whats a good reference for this?
>
Dunno, but ri on my machine says:

for to_f:
Returns the value of _time_ as a floating point number of seconds
   since epoch.

for to_i:
Returns the value of _time_ as a floating point number of seconds
   since epoch.

Hope, that answers your question.


-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org