Method: Mutant::Transform::Named#call
- Defined in:
- lib/mutant/transform.rb
#call(input) ⇒ Either<Error, Object>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Apply transformation to input
64 65 66 |
# File 'lib/mutant/transform.rb', line 64 def call(input) transform.call(input).lmap(&method(:wrap_error)) end |