Class Rack::Bug::MustachePanel
In: lib/rack/bug/panels/mustache_panel.rb
Parent: Panel

MustachePanel is a Rack::Bug panel which tracks the time spent rendering Mustache views as well as all the variables accessed during view rendering.

It can be used to track down slow partials and ensure you‘re only generating data you need.

Also, it‘s fun.

Methods

content   heading   name   reset   times   variables  

Classes and Modules

Class Rack::Bug::MustachePanel::View

Public Class methods

Clear out our page load-specific variables.

The view render times for this page load

The variables used on this page load

Public Instance methods

The content of our Rack::Bug panel

The string used for our tab in Rack::Bug‘s navigation bar

The name of this Rack::Bug panel

[Validate]