Nop. Out of question. 
This is one of the reason I don't like YAML. I'll let you search by yourself why.
I give you a hint, YAML is to Ruby what Pickle is to Python.