On Mon, 19 Jul 2004 23:07:52 +0900, Edgardo Hames <ehames / gmail.com> wrote:
> 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?

Something like PStore might be what you need. I'm not sure, as I've
never used it.

-austin
-- 
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca