Hello,

It's simple:

    require "yaml"

    yaml = YAML::load("Application:\n  - App1\n  - App2")

    puts '"' + yaml['Application'].join(', ') + '"'

That's it. I hope it'll help! :)

-- 
Posted via http://www.ruby-forum.com/.