Sha256: 9ca625b9e38f15afba9af2f389bee955bd986206f9fd4446848332381583ccb5

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

require 'tilt/petroglyph'

if defined?(Sinatra)
  module Sinatra::Templates
    def pg(template, options={}, locals={})
      render :pg, template, options, locals
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
petroglyph-0.0.2 lib/sinatra/petroglyph.rb
petroglyph-0.0.1 lib/sinatra/petroglyph.rb