https://github.com/rkh/sinatra-web-inspector
DEPRECATED
https://github.com/rkh/sinatra-web-inspector
Last synced: 7 months ago
JSON representation
DEPRECATED
- Host: GitHub
- URL: https://github.com/rkh/sinatra-web-inspector
- Owner: rkh
- Created: 2010-02-15T14:31:30.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-03-02T14:21:19.000Z (over 15 years ago)
- Last Synced: 2025-01-19T17:59:17.396Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 78.1 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sinatra::WebInspector
=====================
The WebInspector allows you to inspect a running [Sinatra](http://sinatrarb.com) 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](http://github.com/rkh/big_band) 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