No commit activity in last 3 years
No release in over 3 years
Web inspector for sinatra (part of BigBand).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Sinatra::WebInspector

The WebInspector allows you to inspect a running Sinatra app. Just browse http://localhost:4567/\_\_inspect\_\_

When used with BigBand, it will – per default – only be activated in development mode.

BigBand

Sinatra::WebInspector is part of the BigBand stack. Check it out if you are looking for other fancy Sinatra extensions.

Installation

Note: CSS has not yet been imported from BigBand, so you won't really enjoy this.

gem install sinatra-web-inspector --prerelease

Usage

Classic style:

require "sinatra"
configure(:development) { require "sinatra/webinspector" }

Modular style:

require "sinatra/base"
require "sinatra/webinspector"
class Foo < Sintra::Base
  configure(:development) { register Sintra::WebInspector }
end