class Trailblazer::Operation::Railway::Macaroni::Option
Public Class Methods
call!(proc, options, *)
click to toggle source
The Option#call! method prepares the arguments.
# File lib/trailblazer/operation/railway/macaroni.rb, line 15 def self.call!(proc, options, *) proc.(**options.to_hash.merge(options: options)) end