Class: Morpher::Transform::Array
- Inherits:
-
Morpher::Transform
- Object
- Morpher::Transform
- Morpher::Transform::Array
- Defined in:
- lib/morpher/transform.rb
Overview
Transform an array via mapping it over transform
Constant Summary collapse
- MESSAGE =
'Failed to coerce array at index: %<index>d'
- PRIMITIVE =
Primitive.new(::Array)
Instance Method Summary collapse
-
#call(input) ⇒ Either<Error, Array<Object>>
Apply transformation to input.