Spectator::ProcStub(T)
Inherits Spectator::TypedStub < Spectator::Stub < Spectator::StubModifiers < Reference < Object
Stub that responds with a value returned by calling a proc.
Constructors
Instance methods
with_constraint(constraint : AbstractArguments | Nil)
Returns a new stub with constrained arguments.