|
Man 1: What's Yaml?
Man 2: It's for writing data structures in plain text.
Man 1: And?
Man 2: And what? That's not good enough for you?
Man 1: No, I mean, "And what about Yaml.rb?"
Man 2: Oh, oh yeah. Uh.. Yaml for Ruby.
YAML.rb/Syck Now in Ruby 1.8.0!
YamlInRuby:
YAML is now included with Ruby! (Available with Ruby 1.8.0 from
Ruby CVS.)
New docs:
CHM (0.49),
PDF (0.49)
If you have Ruby 1.6.x, please see the
Syck homepage. Syck comes
with a Ruby extension which is current for older stable versions of
Ruby.
Ruby + YAML
For Ruby developers, YAML is a natural fit for object serialization and
general data storage. Really, it's quite fantastic. Spreads right on
your Rubyware like butter on bread!
The possible uses for YAML are innumerable. Configuration files,
custom internet protocols, documentation, the list goes on and on.
Also, with YAML readers popping up for other languages (see YAML.pm
and others), you can pass data easily to colleagues in distant lands,
swamped in their archaic languages.
YAML is a beacon of light, reaching out to them all. ;)
Requirements
To enable Unicode
support, you must have a current version of the Iconv
module for Ruby.
Artist's Depiction of Before YAML.rb
|