"Ara.T.Howard" <ahoward / noaa.gov> schrieb im Newsbeitrag
news:Pine.LNX.4.60.0407191215520.914 / harp.ngdc.noaa.gov...
> On Mon, 19 Jul 2004, Edgardo Hames 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?
> >
> > Regards,
> > Ed
>
> use yaml:

Nice solution!

> yaml is the light.  ;-)

If you have a YAML in your hand, everything lools like a .yaml file. :-)))

Kind regards

    robert