Method: Trailblazer::Activity::DSL::Linear::Patch.customize
- Defined in:
- lib/trailblazer/activity/dsl/linear/feature/patch.rb
.customize(activity, options:) ⇒ Object
Currently, this is called from the Subprocess() helper.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/trailblazer/activity/dsl/linear/feature/patch.rb', line 6 def self.customize(activity, options:) = .is_a?(Proc) ? {[] => } : # hash-wrapping with empty path, for patching given activity itself .each do |path, patch| activity = call(activity, path, patch) # TODO: test if multiple patches works! end activity end |