Over a million developers have joined DZone.

Force Ruby YAML To Format Inline Array

·
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
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}