Class: Trailblazer::Developer::Trace::Level
- Inherits:
-
Array
- Object
- Array
- Trailblazer::Developer::Trace::Level
- Defined in:
- lib/trailblazer/developer/trace.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.input_output_nested_for_level(level) ⇒ Object
106 107 108 109 110 111 112 113 |
# File 'lib/trailblazer/developer/trace.rb', line 106 def self.input_output_nested_for_level(level) input = level[0] output = level[-1] output, nested = output.is_a?(Entity::Output) ? [output, level-[input, output]] : [nil, level[1..-1]] return input, output, nested end |
Instance Method Details
#inspect ⇒ Object
101 102 103 |
# File 'lib/trailblazer/developer/trace.rb', line 101 def inspect %{<Level>#{super}} end |