lib/trailblazer/activity/dsl/linear/state.rb in trailblazer-activity-dsl-linear-0.3.5 vs lib/trailblazer/activity/dsl/linear/state.rb in trailblazer-activity-dsl-linear-0.4.0
- old
+ new
@@ -28,10 +28,10 @@
def to_h
{sequence: @sequence, normalizers: @normalizer, normalizer_options: @normalizer_options, fields: @fields} # FIXME.
end
def update_sequence(&block)
- @sequence = yield(to_h)
+ @sequence = yield(**to_h)
end
def update_options(fields)
@fields = fields
end