module Trailblazer::Operation::Railway::KwSignature
Call the user's steps with a differing API (inspired by Maciej Mensfeld) that only receives keyword args. The `options` keyword is the stateful context object
def my_step( params:, ** ) def my_step( params:, options:, ** )
Public Class Methods
call(user_proc)
click to toggle source
# File lib/trailblazer/operation/railway/macaroni.rb, line 9 def self.call(user_proc) Activity::TaskBuilder::Task.new(Trailblazer::Option.build(Macaroni::Option, user_proc), user_proc) end