View Source IncompleteBehaviour (incomplete_behaviour v1.0.0)
This module can be used to implement partial behaviours.
This was implemented for the use-case of Mox stubs, where modules need to
implement the mocked behaviour. Sometimes, we wanted to use modules as stubs,
but without implementing all functions.
How it works?
This library automatically implements all missing callbacks. Upon being called, these callbacks just raise UndefinedFunctionError.
Summary
Functions
Use this macro to make your module implement incomplete behaviours
Functions
Use this macro to make your module implement incomplete behaviours