Sha256: a8d45ae1655c7a9712e2d7744e593365aae3124745f7fd94b7b84b6d05449918
Contents?: true
Size: 287 Bytes
Versions: 6
Compression:
Stored size: 287 Bytes
Contents
require 'kontrol' require 'bluecloth' require 'git_store' class GitApp < Kontrol::Application def initialize(path) super @store = GitStore.new(path) end map do page '/(.*)' do |name| text BlueCloth.new(@store[name]).to_html end end end run GitApp.new
Version data entries
6 entries across 6 versions & 2 rubygems