Class: Morpher::Transform::Success

Inherits:
Morpher::Transform show all
Defined in:
lib/morpher/transform.rb

Overview

Transform sucessfully

Instance Method Summary collapse

Methods inherited from Morpher::Transform

#slug

Instance Method Details

#call(input) ⇒ Either<Error, Object>

Apply transformation to input

Parameters:

  • (Object)

Returns:



465
466
467
# File 'lib/morpher/transform.rb', line 465

def call(input)
  success(block.call(input))
end