Sha256: 20bfa8d79f4502ebc75ca55ac860cb64cc997d99efb12c9253a1223d3d4065e2

Contents?: true

Size: 81 Bytes

Versions: 5

Compression:

Stored size: 81 Bytes

Contents

class Object

  #
  def to_yamlfrag
    to_yaml.sub("---",'').rstrip
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
detroit-0.4.0 lib/detroit/core_ext/to_yamlfrag.rb
detroit-0.3.0 lib/detroit/tool/core_ext/to_yamlfrag.rb
detroit-0.2.0 lib/detroit/tool/core_ext/to_yamlfrag.rb
detroit-0.1.0 lib/detroit/tool/core_ext/to_yamlfrag.rb
ratch-1.2.0 lib/ratch/core_ext/to_yamlfrag.rb