class Mocks::BaseDouble

Defined in:

macro/base_double.cr
mocks.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(stubs) #

[View source]
def self.new #

[View source]

Class Method Detail

def self.to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]

Instance Method Detail

def same?(other : Value) #

[View source]

Macro Detail

macro _mock(method_spec, return_type = nil, sample = nil) #

[View source]