Sha256: cb70967842b012297cc008e7534752430e47ae389cb9ee4d3f12584e463af01b

Contents?: true

Size: 187 Bytes

Versions: 1

Compression:

Stored size: 187 Bytes

Contents

require "yaml"

module Harp2Hugo
  class MetaData
    def initialize json_data
      @json_data = json_data
    end

    def to_yaml
      "#{@json_data.to_yaml()}---\n"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harp2hugo-0.0.4 lib/harp2hugo/meta_data.rb