Module: Trailblazer::Developer
- Defined in:
- lib/trailblazer/developer/render/linear.rb,
lib/trailblazer/developer.rb,
lib/trailblazer/developer/wtf.rb,
lib/trailblazer/developer/trace.rb,
lib/trailblazer/developer/debugger.rb,
lib/trailblazer/developer/introspect.rb,
lib/trailblazer/developer/trace/node.rb,
lib/trailblazer/developer/trace/stack.rb,
lib/trailblazer/developer/wtf/renderer.rb,
lib/trailblazer/developer/trace/present.rb,
lib/trailblazer/developer/render/circuit.rb,
lib/trailblazer/developer/trace/snapshot.rb,
lib/trailblazer/developer/introspect/graph.rb,
lib/trailblazer/developer/render/task_wrap.rb,
lib/trailblazer/developer/trace/parent_map.rb,
lib/trailblazer/developer/debugger/normalizer.rb,
lib/trailblazer/developer/trace/snapshot/value.rb,
lib/trailblazer/developer/trace/snapshot/versions.rb
Overview
Operation-specific circuit rendering. This is optimized for a linear railway circuit.
NOTE: this is absolutely to be considered as prototyping and acts more like a test helper ATM as
Defined Under Namespace
Modules: Debugger, Introspect, Render, Trace, Wtf
Class Method Summary collapse
- .railway(*args, **kws) ⇒ Object
- .render(activity, path: nil, **options) ⇒ Object
- .wtf(activity, *args, **circuit_options) ⇒ Object (also: wtf?)
Class Method Details
.railway(*args, **kws) ⇒ Object
9 10 11 |
# File 'lib/trailblazer/developer/render/linear.rb', line 9 def self.railway(*args, **kws) Render::Linear.(*args, **kws) end |
.render(activity, path: nil, **options) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/trailblazer/developer/render/circuit.rb', line 5 def render(activity, path: nil, **) if path # TODO: move to place where all renderers can use this logic! node, _, graph = Developer::Introspect.find_path(activity, path) activity = node.task end Activity::Introspect::Render.(activity, **) end |