Sha256: 99d8979b962606b8765b38d2b7ee350d346536d7ce05472e54b30ff5fa8ad1c9

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

module Shinmun

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

    def write(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 lib/shinmun/post_handler.rb