From: Edgardo Hames Date: 2004-07-19T23:07:52+09:00 Subject: Java ResourceBundle like class in Ruby Hi, everybody. I wondered how would you write a ResourceBundle-like class in Ruby. Basically, what I need is hash which is initialized by reading key,value pairs from a file. I've thought of this class ResourceBundle < Hash def initialize(fileName) #load data from fileName end end What do you think of this approach? Regards, Ed