blob: e32dcd3777baf58b7441c702e23f81a24ad6b6a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
module Gitlab
module Usage
module ServicePing
class LegacyMetricTimingDecorator < SimpleDelegator
attr_reader :duration
delegate :class, :is_a?, :kind_of?, to: :__getobj__
def initialize(value, duration)
@duration = duration
super(value)
end
end
end
end
end
|