Class: Rack::Bug::RequestVariablesPanel
- Inherits:
-
Panel
- Object
- Panel
- Rack::Bug::RequestVariablesPanel
show all
- Defined in:
- lib/rack/bug/panels/request_variables_panel.rb
Instance Attribute Summary
Attributes inherited from Panel
#request
Instance Method Summary
collapse
Methods inherited from Panel
#after, #call, #has_content?, #initialize, #panel_app, #render
Methods included from Render
#compile, #compile!, #compiled_source, #method_name, #method_name_without_locals, #render_template, #signed_params
Instance Method Details
#before(env) ⇒ Object
10
11
12
|
# File 'lib/rack/bug/panels/request_variables_panel.rb', line 10
def before(env)
@env = env
end
|
#content ⇒ Object
18
19
20
|
# File 'lib/rack/bug/panels/request_variables_panel.rb', line 18
def content
render_template "panels/request_variables", :request => @request, :env => @env
end
|
#heading ⇒ Object
14
15
16
|
# File 'lib/rack/bug/panels/request_variables_panel.rb', line 14
def heading
"Rack Env"
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/rack/bug/panels/request_variables_panel.rb', line 6
def name
"request_variables"
end
|