abstract class Spectator::Mocks::MethodStub
- Spectator::Mocks::MethodStub
- Reference
- Object
Direct Known Subclasses
Defined in:
spectator/mocks/method_stub.crConstructors
Instance Method Summary
- #call(args : GenericArguments(T, NT), &original : -> RT) forall T, NT, RT
- #call!(args : GenericArguments(T, NT), &original : -> RT) : RT forall T, NT, RT
- #callable?(call : MethodCall) : Bool
- #name : Symbol
- #source : Source
- #to_s(io)
Instance methods inherited from class Object
should(matcher)
should,
should_eventually(matcher)
should_eventually,
should_never(matcher)
should_never,
should_not(matcher)
should_not
Constructor Detail
Instance Method Detail
abstract
def call(args : GenericArguments(T, NT), &original : -> RT) forall T, NT, RT
#