http://stackoverflow.com/questions/1054730/is-it-possible-to-specify-formatting-options-for-to-yaml-in-ruby


class Array
def to_yaml_style
:inline
end
end

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/aU4WH21Hv2g/12259