Method: LogExtractor::Hit#method_missing

Defined in:
lib/log_extractor/hit.rb

#method_missing(method_name, *_args, &_block) ⇒ Object



7
8
9
10
# File 'lib/log_extractor/hit.rb', line 7

def method_missing(method_name, *_args, &_block)
  value = source[method_name.to_s]
  value.nil? ? super : value
end