Sha256: 9199dec7241f58aff4d6fce35527793db53c0a7a24e00f652d2e10eb669a1b9d

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Shinmun

  class PostHandler
    def read(path, data)
      Post.new(:path => path, :src => data)
    end

    def write(path, post)
      post.dump
    end    
  end
  
end

GitStore::Handler['md'] = Shinmun::PostHandler.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgi-shinmun-0.3.4 lib/shinmun/post_handler.rb