tags:

views:

25

answers:

0

I've been reading the YAML docs on http://yaml4r.sourceforge.net/doc/

There is an example:

puts [[ 'Crispin', 'Glover' ]].to_yaml( :Indent => 4, :UseHeader => true, :UseVersion => true )

It's supposed to emit a string with a "%YAML:1.0" tag in it---when I run it I don't get that at all.

Is there a way to tell which library I'm actually using? (I think I'm using the bundled Syck, but I don't know.) I Googled and saw there's a "yaml4r" but I don't see it as a Gem when I do a remote search.