View Source Igniter.Refactors.Rename (igniter v0.3.72)
Refactors for renaming things in a project
Summary
Functions
Renames a function globally across a project.
Functions
@spec rename_function( Igniter.t(), old :: {module(), atom()}, new :: {module(), atom()}, opts :: Keyword.t() ) :: Igniter.t()
Renames a function globally across a project.
Options
:arity
-:any
| integer | [integer]. The arity or arities of the function to rename. Defaults to:any
.:deprecate
-:soft | :hard
. Leave the original function in place, but with a deprecation. Soft deprecations appear in documentation but do not cause warnings. Hard deprecations warn when they are called.