Class: Trailblazer::Operation::Railway::Macaroni::Option
- Inherits:
-
Trailblazer::Option
- Object
- Trailblazer::Option
- Trailblazer::Operation::Railway::Macaroni::Option
- Defined in:
- lib/trailblazer/operation/railway/macaroni.rb
Class Method Summary collapse
-
.call!(proc, options) ⇒ Object
The Option#call! method prepares the arguments.
Class Method Details
.call!(proc, options) ⇒ Object
The Option#call! method prepares the arguments.
15 16 17 |
# File 'lib/trailblazer/operation/railway/macaroni.rb', line 15 def self.call!(proc, , *) proc.(**.to_hash.merge(options: )) end |