Class: TraceViz::Formatters::Export::MethodCallFormatter

Inherits:
BaseFormatter show all
Defined in:
lib/trace_viz/formatters/export/method_call_formatter.rb

Instance Method Summary collapse

Methods included from Helpers::MethodDetailsHelper

#method_name_representation

Methods included from Helpers::ResultHelper

#result_representation

Methods included from Helpers::SourceHelper

#source_location_representation

Methods included from Helpers::ParamsHelper

#params_representation

Methods included from Helpers::TimeHelper

#execution_time_representation

Methods included from Helpers::DepthHelper

#depth_representation

Methods included from Helpers::IndentHelper

#indent_representation

Instance Method Details

#call(trace_data) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/trace_viz/formatters/export/method_call_formatter.rb', line 9

def call(trace_data)
  [
    indent_representation(trace_data),
    depth_representation(trace_data),
    method_name_representation(trace_data),
    source_location_representation(trace_data),
    params_representation(trace_data),
  ].compact.join(" ")
end