abstract class Spectator::Mocks::MethodStub

Direct Known Subclasses

Defined in:

spectator/mocks/method_stub.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def self.new(name, location) #

[View source]

Instance Method Detail

abstract def call(args : GenericArguments(T, NT), &original : -> RT) forall T, NT, RT #

[View source]
def call!(args : GenericArguments(T, NT), &original : -> RT) : RT forall T, NT, RT #

[View source]
def callable?(call : MethodCall) : Bool #

[View source]
def location : Location #

[View source]
def name : Symbol #

[View source]
def to_s(io) #

[View source]