Patch.Mock.Code.Transforms.Rename (patch v0.10.1) View Source

Link to this section Summary

Functions

Transforms the provided forms to rename the module to the provided module name.

Link to this section Functions

Link to this function

transform(abstract_forms, module)

View Source

Specs

transform(abstract_forms :: [Patch.Mock.Code.form()], module :: module()) :: [
  Patch.Mock.Code.form()
]

Transforms the provided forms to rename the module to the provided module name.