Class: Rack::Instrument::NullInstrument
- Inherits:
-
Object
- Object
- Rack::Instrument::NullInstrument
- Defined in:
- lib/rack/instrument.rb
Overview
This can be used as the instrument in order to disable instrumentation without removing it completely.
use Rack::Instrument, Rack::Instrument::NullInstrument.new
Instance Method Summary collapse
Instance Method Details
#increment(*args) ⇒ Object
9 |
# File 'lib/rack/instrument.rb', line 9 def increment(*args); end |
#timing(*args) ⇒ Object
10 |
# File 'lib/rack/instrument.rb', line 10 def timing(*args); end |