At Mon, 24 Dec 2001 03:07:58 +0900,
Mathieu Bouchard <matju / sympatico.ca> wrote:
> fahrenheit = Hash.new do |h, c| h[c] = c * 9 / 5 + 32 end
> p fahrenheit[100] # => 212
> p fahrenheit[200] # => 392

Yes, it's enough.

> why module Temp (or class Temp) is there at all is beyond me.

It's because of the historical reason :-).


Nobu Nakada