Class: Rack::MiniProfiler::Dashboard
- Inherits:
-
Static
- Object
- Static
- Rack::MiniProfiler::Dashboard
- Defined in:
- lib/rack/miniprofiler/dashboard.rb,
lib/rack/miniprofiler/dashboard/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Method Summary collapse
-
#initialize(app) ⇒ Dashboard
constructor
A new instance of Dashboard.
Constructor Details
#initialize(app) ⇒ Dashboard
Returns a new instance of Dashboard.
4 5 6 7 |
# File 'lib/rack/miniprofiler/dashboard.rb', line 4 def initialize( app ) public_path = ::File.( '../../../public', ::File.dirname( __FILE__ ) ) super( app, urls: [''], root: public_path, index: 'index.html' ) end |