class Object
Public Instance Methods
decomposite_key(key)
click to toggle source
# File lib/fluent/plugin/filter_kube_events_timestamp.rb, line 3 def decomposite_key(key) key.split('.') end
getin(hash, key)
click to toggle source
# File lib/fluent/plugin/filter_kube_events_timestamp.rb, line 7 def getin(hash, key) hash.dig(*decomposite_key(key)) end