class Trailblazer::Operation::Trace::Result

Presentation of the traced stack via the returned result object. This object is wrapped around the original result in {Trace.call}.

Public Class Methods

new(result, stack) click to toggle source
Calls superclass method
# File lib/trailblazer/operation/trace.rb, line 36
def initialize(result, stack)
  super(result)
  @stack = stack
end

Public Instance Methods

wtf() click to toggle source
# File lib/trailblazer/operation/trace.rb, line 41
def wtf
  Developer::Trace::Present.(@stack)
end
wtf?() click to toggle source
# File lib/trailblazer/operation/trace.rb, line 45
def wtf?
  puts wtf
end