I've been told that depending on the YAML library used, when a list (not hash!) in a YAML file is translated into a Ruby array, the order is not guaranteed. However, I've not been able to find any evidence of this. So given a YAML file like:
letters:
- a
- b
- c
- d
- e
After doing YAML::load File.read('filename')
, I'm always guaranteed to get {'letters'=>['a', 'b', 'c', 'd', 'e']}
, instead of some other ordering, regardless of which YAML library I'm using, correct?