Class: Pipeable::Steps::Map
- Defined in:
- lib/pipeable/steps/map.rb
Overview
Maps over an enumerable, processes each element, and answers a new enumerable.
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/map.rb', line 7 def call(result) = result.fmap { |collection| collection.map(&base_block) } |