template for gem packaged sinatra extensions
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
LICENSE
README
Rakefile
vc_sinatra_extension.gemspec

README

module MyExtension
  extend Sinatra::Extension

  enable :session

  get '/foo' do
    "bar"
  end

end

class MyApp < Sinatra::Base
  register MyExtension
end
This file was modified by JetBrains RubyMine 3.2.4 for binding GitHub repository