patch v0.2.0 API Reference

Modules

Patch - Ergonomic Mocking for Elixir

For simple patching the caller can just patch a function, ignore the arguments, and always return a value. This module helps create anonymous functions that accept (and ignore) the requested number of arguments and always return the static value.