Class: Operations::Components::Base
- Inherits:
-
Object
- Object
- Operations::Components::Base
- Extended by:
- Dry::Initializer
- Defined in:
- lib/operations/components/base.rb
Overview
An ancestor for all the operation components. Holds shared methods.
Constant Summary collapse
- MONADS_DO_WRAPPER_SIGNATURES =
[%i[rest *], %i[block &]], [%i[rest], %i[block &]], # Ruby 3.0, 3.1 [%i[rest *], %i[keyrest **], %i[block &]], [%i[rest], %i[keyrest], %i[block &]] # Ruby 3.0, 3.1 ].freeze
- DEFAULT_NAMES_MAP =
Ruby 3.0, 3.1
{ # Ruby 3.0, 3.1 rest: "*", keyrest: "**" }.freeze