Class: Hanami::CommonLogger::ElapsedTime Private
- Inherits:
-
Object
- Object
- Hanami::CommonLogger::ElapsedTime
- Defined in:
- lib/hanami/common_logger.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Wrapper which uses Rack’s monotonic clock_time (used for began_at since Rack 2.1.0)
Class Method Summary collapse
- .call ⇒ Object private
Class Method Details
.call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
104 105 106 |
# File 'lib/hanami/common_logger.rb', line 104 def self.call @clock.call end |