Class: Mutant::Transform Private

Inherits:
Object
  • Object
show all
Includes:
Unparser::AbstractType, Unparser::Adamantium
Defined in:
lib/mutant/transform.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Array, Block, Boolean, Error, Exception, Hash, Index, Named, Primitive, Sequence, Success

Instance Method Summary collapse

Instance Method Details

#callEither<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

Parameters:

  • input (Object)

Returns:



19
# File 'lib/mutant/transform.rb', line 19

abstract_method :call

#slugString

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.

Default slug

Returns:

  • (String)


10
11
12
# File 'lib/mutant/transform.rb', line 10

def slug
  self.class.to_s
end