class Morpher::Transform::Success

Transform sucessfully

Public Instance Methods

call(input) click to toggle source

Apply transformation to input

@param [Object]

@return [Either<Error, Object>]

# File lib/morpher/transform.rb, line 503
def call(input)
  success(block.call(input))
end