Class: Rack::MiniProfiler::Dashboard

Inherits:
Static
  • Object
show all
Defined in:
lib/rack/miniprofiler/dashboard.rb,
lib/rack/miniprofiler/dashboard/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Instance Method Summary collapse

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.expand_path( '../../../public', ::File.dirname( __FILE__ ) )
  super( app, urls: [''], root: public_path, index: 'index.html' )
end