Module: Webmachine::Resource::Tracing
- Included in:
- Webmachine::Resource
- Defined in:
- lib/webmachine/resource/tracing.rb
Overview
Contains Webmachine::Resource methods related to the visual debugger.
Instance Method Summary collapse
-
#trace? ⇒ Boolean
Whether this resource should be traced.
Instance Method Details
#trace? ⇒ Boolean
Whether this resource should be traced. By default, tracing is disabled, but you can override it by setting the @trace instance variable in the initialize method, or by overriding this method. When enabled, traces can be visualized using the web debugging interface.
15 16 17 |
# File 'lib/webmachine/resource/tracing.rb', line 15 def trace? !!@trace end |