Method: Webmachine::Trace.fetch

Defined in:
lib/webmachine/trace.rb

.fetch(key) ⇒ Array

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Fetches a given trace from the trace store. This is used to send specific trace information to the visual debugger.

Parameters:

  • key (String)

    the trace’s key

Returns:

  • (Array)

    the raw trace



58
59
60
# File 'lib/webmachine/trace.rb', line 58

def fetch(key)
  trace_store.fetch(key)
end