From: nobu.nokada@... Date: 2001-12-24T03:39:02+09:00 Subject: [ruby-talk:29374] Re: a better way? At Mon, 24 Dec 2001 03:07:58 +0900, Mathieu Bouchard 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