In article <Pine.LNX.4.44.0312111608390.6969-100000 / wobblini.net>, David A. Black <dblack / wobblini.net> wrote: >Hi -- > >I'm wondering whether the "#" and everything after it are >really supposed to be taken out of the string in this >example: > > irb(main):015:0> YAML.load("---\nstring: one # two") > => {"string"=>"one"} > >I guess I can wrap it all in quotation marks, but I didn't >think I had to. http://www.yaml.org/spec/#.-syntax-throw-Throwaway-comments- suggests this is the right behaviour; so the quites are necessary. Hope this helps, Mike -- mike / stok.co.uk | The "`Stok' disclaimers" apply. http://www.stok.co.uk/~mike/ | GPG PGP Key 1024D/059913DA mike / exegenix.com | Fingerprint 0570 71CD 6790 7C28 3D60 http://www.exegenix.com/ | 75D2 9EC4 C1C0 0599 13DA