From: Robert Klemme Date: 2013-05-20T23:22:36+09:00 Subject: Re: new, with an idea, and not sure what to learn next --20cf30363d3f642fce04dd271085 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, May 20, 2013 at 3:47 PM, wrote: > Am 20.05.2013 03:34, schrieb Dami=E1n M. Gonz=E1lez: > > What's even better than the solution provided by the above person is to >> learn to use Marshal. Marshal is a class of Ruby Source Code, you even >> don't have to include it. With Marshal you can save data in binary form >> in files with whatever name you want to use. >> > > Am I the "above person"? :) > > What I especially like about e.g. YAML::Store is that the files are > human readable and _not_ binary. > Well, but even reading a Marshal file isn't too hard: just fire up IRB read the file and use p or pp to print out interesting parts. You can even iterate through the structure etc. Kind regards robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --20cf30363d3f642fce04dd271085 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Mon, May 20, 2013 at 3:47 PM, <sto.mar@web.de> wrot= e:
Am 20.05.2013 03:34, schrieb Dami=E1n M. Gonz=E1lez:

What's even better than the solution provided by the above person is to=
learn to use Marshal. Marshal is a class of Ruby Source Code, you even
don't have to include it. With Marshal you can save data in binary form=
in files with whatever name you want to use.

Am I the "above person"? =A0:)

What I especially like about e.g. YAML::Store is that the files are
human readable and _not_ binary.

Well, but even reading a Marshal file isn't too hard: = just fire up IRB read the file and use p or pp to print out interesting par= ts. =A0You can even iterate through the structure etc.

Kind regard= s

robe= rt

--
remember.guy do |as, often| as.yo= u_can - without end
http://blog.rubybestpractice= s.com/
--20cf30363d3f642fce04dd271085--