| Class | Peek::Views::View |
| In: |
lib/peek/views/view.rb
|
| Parent: | Object |
The context id that is derived from the classname.
Examples:
Peek::Views::PerformanceBar => "peek-context-performance-bar" Peek::Views::Resque => "peek-context-resque"
Returns String.
Conditionally enable views based on any gathered data. Helpful if you don‘t want views to show up when they return 0 or are touched during the request.
Returns true.
The defer key that is derived from the classname.
Examples:
Peek::Views::PerformanceBar => "performance-bar" Peek::Views::Resque => "resque"
Returns String.
Where any subclasses should pick and pull from @options to set any and all instance variables they like.
Returns nothing.
The path to the partial that will be rendered to the Peek bar.
Examples:
Peek::Views::PerformanceBar.partial_path => "peek/views/performance_bar" CustomResque.partial_path => "performance_bar"
Returns String.