class

Spectator::Mocks::ProcMethodStub(ReturnType)

Inherits Spectator::Mocks::GenericMethodStub < Spectator::Mocks::MethodStub < Reference < Object

Constructors

new(name, source, proc : -> ReturnType, args = nil)
Source

Class methods

create(name, source, args = nil, &block : -> T) forall T
Source

Instance methods

call(_args : GenericArguments(T, NT), &_original : -> RT) forall T, NT, RT
Source