Klairvoyant infosolution's Blog

What is YAML?


YAML(YAML Ain’t Markup Language) is a human friendly data serialization standard for all programming languages.YAML support comes built in to the ruby language.ruby uses yaml in Fixtures and for the database description file.

YAML is an excellent choice for serializing your Ruby objects. Its brevity and readability give it the edge over both XML and Marshal, and with the addition of YAML Helper it becomes more flexible as well.In ruby every object automagically gets a to_yaml method that returns a string containing appropriate YAML markup.