Spyanator v0.0.3 Spyanator.Macros
Where our special def
macro lives.
The def
macro marks a function for tracking by spyanator.
Any function will have it’s arguments, return values, and
number of calls by Spyanator
.
Spyanator.Marros.def
wraps Kernel.def
, tracks the arguments, return values
and number of calls. It then defferes back to Kernel.def
.
Spys who use Spyanator
can be started by the Spyanator.start_spy/1
function
defmodule Spy do
use Spyanator
def this_thing, do: true
end