Class: TraceViz::Formatters::Export::SummaryGroupFormatter

Inherits:
BaseFormatter show all
Includes:
Helpers::Summary::ParamsHelper, Helpers::Summary::SourceHelper
Defined in:
lib/trace_viz/formatters/export/summary_group_formatter.rb

Instance Method Summary collapse

Methods included from Helpers::Summary::SourceHelper

#source_location_representation

Methods included from Helpers::Summary::ParamsHelper

#format_params_template

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



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/trace_viz/formatters/export/summary_group_formatter.rb', line 12

def call(trace_data)
  [
    indent_representation(trace_data),
    depth_representation(trace_data),
    Defaults::Actions.emoji_for(:processing),
    method_name_representation(trace_data),
    source_location_representation(trace_data),
    format_params_template(trace_data, config),
    summary_info(trace_data),
  ].compact.join(" ")
end