Class: Pipeable::Steps::Fmap
- Defined in:
- lib/pipeable/steps/fmap.rb
Overview
Wraps Dry Monads ‘#fmap` method as a step.
Instance Method Summary collapse
Methods inherited from Abstract
Methods included from Composable
Constructor Details
This class inherits a constructor from Pipeable::Steps::Abstract
Instance Method Details
#call(result) ⇒ Object
7 |
# File 'lib/pipeable/steps/fmap.rb', line 7 def call(result) = result.fmap { |object| base_block.call object } |