Patch.Mock.Values.CallableStack (patch v0.10.1) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Patch.Mock.Values.CallableStack{stack: [Patch.Mock.Values.Callable.t()]}

Link to this section Functions

Specs

advance(stack :: t()) :: t()

Specs

new(stack :: [Patch.Mock.Values.Callable.t()]) :: t()

Specs

next(stack :: t(), arguments :: [term()]) :: {:ok, t(), term()} | :error

Specs

push(stack :: t(), callable :: Patch.Mock.Values.Callable.t()) :: t()