abstract class Spectator::Mocks::GenericMethodStub(ReturnType)
Direct Known Subclasses
Defined in:
spectator/mocks/generic_method_stub.cr
Constructors
Instance Method Summary
call(args : GenericArguments(T, NT), &original : -> RT) forall T, NT, RT
call,
call!(args : GenericArguments(T, NT), &original : -> RT) : RT forall T, NT, RT
call!,
callable?(call : MethodCall) : Bool
callable?,
name : Symbol
name,
source : Source
source,
to_s(io)
to_s
new(name : Symbol, source : Spectator::Source)
new
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
def self.
new(name, source, args :
Arguments | Nil =
nil)
#
Instance Method Detail