Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mocks
v0.9.6
Mocks
Allow
BaseDouble
BaseMock
HaveReceivedExpectation
Macro
GlobalDSL
Message
Receive
Registry
CallHash
CallHashKey
LastArgsKey
Method
ObjectId
Result
ResultInterface
ResultWrapper
RegistryInstances
UnexpectedMethodCall
Built with Crystal 1.9.2
2023-10-08 11:52:24 UTC
class
Mocks::Message(T, V)
Mocks::Message(T, V)
Reference
Object
Defined in:
mocks/message.cr
Constructors
.new
(receive : Receive(T), value : V)
Instance Method Summary
#args
#method_name
#receive
#registry_for_its_args
(name)
#value
Constructor Detail
def self.
new
(receive :
Receive
(T), value : V)
#
[
View source
]
Instance Method Detail
def
args
#
[
View source
]
def
method_name
#
[
View source
]
def
receive
#
[
View source
]
def
registry_for_its_args
(name)
#
[
View source
]
def
value
#
[
View source
]