Class: Gitlab::Usage::Metrics::KeyPathProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/usage/metrics/key_path_processor.rb

Class Method Summary collapse

Class Method Details

.process(key_path, value) ⇒ Object


8
9
10
# File 'lib/gitlab/usage/metrics/key_path_processor.rb', line 8

def process(key_path, value)
  unflatten(key_path.split('.'), value)
end