Smoke Signals

Monday, August 01, 2005

YAML me

I recently built a list in YAML for Ruby in a Ruby on Rails project. Reading the docs I noticed if you do item: - this - that it creates an array of those values. That is sweet. Since loading a YAML file into rails automatically creates a hash of the values, it makes some cool list comprehension possible.

0 Comments:

Post a Comment

<< Home