Class: TraceViz::Formatters::Diagram::Sequence::MessageFormatter
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- TraceViz::Formatters::DiagramFormatter
- BaseFormatter
- TraceViz::Formatters::Diagram::Sequence::MessageFormatter
- Defined in:
- lib/trace_viz/formatters/diagram/sequence/message_formatter.rb
Instance Method Summary collapse
- #format_call ⇒ Object
- #format_internal_message(trace) ⇒ Object
- #format_result(trace) ⇒ Object
- #format_return ⇒ Object
Methods included from Helpers::Diagram::ResultHelper
Methods included from Helpers::Diagram::ActionHelper
Methods included from Helpers::ParamsHelper
Methods inherited from BaseFormatter
Instance Method Details
#format_call ⇒ Object
26 27 28 |
# File 'lib/trace_viz/formatters/diagram/sequence/message_formatter.rb', line 26 def format_call "Calling" end |
#format_internal_message(trace) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/trace_viz/formatters/diagram/sequence/message_formatter.rb', line 15 def (trace) [ action_representation(trace), params_representation(trace), ].join("") end |
#format_result(trace) ⇒ Object
22 23 24 |
# File 'lib/trace_viz/formatters/diagram/sequence/message_formatter.rb', line 22 def format_result(trace) result_representation(trace) end |
#format_return ⇒ Object
30 31 32 |
# File 'lib/trace_viz/formatters/diagram/sequence/message_formatter.rb', line 30 def format_return "Returning" end |