Module: Trailblazer::Operation::ClassDependencies

Defined in:
lib/trailblazer/operation/class_dependencies.rb

Overview

The use of this module is not encouraged and it is only here for backward-compatibility. Instead, please pass dependencies via containers, locals, or macros into the respective steps.

Instance Method Summary collapse

Instance Method Details

#call_with_circuit_interface(ctx, flow_options, **circuit_options) ⇒ Object



19
20
21
22
23
# File 'lib/trailblazer/operation/class_dependencies.rb', line 19

def call_with_circuit_interface((ctx, flow_options), **circuit_options)
  @skills.each { |name, value| ctx[name] ||= value } # this resembles the behavior in 2.0. we didn't say we liked it.

  super
end