Methods
to_yamlfrag yaml
Public Instance methods
to_yamlfrag()

As with to_yaml but removes the header line (i.e. ’—’) to create a "YAML fragment".

# File lib/lore/facets/yaml.rb, line 50
  def to_yamlfrag
    y = to_yaml
    y.sub!(/---\ */, '')
    y
  end
yaml(*args,&blk)

Convenience method for loading YAML.

# File lib/lore/facets/yaml.rb, line 44
  def yaml(*args,&blk)
    YAML.load(*args,&blk)
  end