Class: PigCI::Profiler::DatabaseRequest
- Inherits:
-
PigCI::Profiler
- Object
- PigCI::Profiler
- PigCI::Profiler::DatabaseRequest
- Defined in:
- lib/pig_ci/profiler/database_request.rb
Instance Attribute Summary
Attributes inherited from PigCI::Profiler
#historical_log_file, #i18n_key, #log_file, #log_value
Instance Method Summary collapse
Methods inherited from PigCI::Profiler
#initialize, #log_request!, #reset!, #save!, #setup!
Constructor Details
This class inherits a constructor from PigCI::Profiler
Instance Method Details
permalink #increment!(by: 1) ⇒ Object
[View source]
2 3 4 |
# File 'lib/pig_ci/profiler/database_request.rb', line 2 def increment!(by: 1) @log_value += by end |