July 2011
Intermediate to advanced
400 pages
8h 46m
English

At some point, most desktop applications are going to want to save and read structured data to and from disk. You’ve already seen how to read and write data using simple IO routines such as gets and puts. But how would you go about saving and restoring data from, say, lists of mixed object types? One simple way of doing this with Ruby is by using YAML.
YAML is an acronym that is (debatably) either short for Yet Another Markup Language or (recursively) for YAML Ain’t Markup Language.
YAML defines a serialization (data-saving) format that stores information as human-readable text. YAML can be used with a variety ...
Read now
Unlock full access