Method: RequestDetailsFormatter#method_section

Defined in:
lib/dtracer/request_formatters.rb

#method_section(hash) ⇒ Object



87
88
89
90
91
# File 'lib/dtracer/request_formatters.rb', line 87

def method_section(hash)
  return nil unless @options[:m] && hash["method"]

  ["Method:\n  #{hash["method"]}"]
end