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::Registry::ResultWrapper(T)
Mocks::Registry::ResultWrapper(T)
Reference
Object
Included Modules
Mocks::Registry::ResultInterface
Defined in:
mocks/registry.cr
Constructors
.new
(result : T)
Instance Method Summary
#downcast
#result
Instance methods inherited from module
Mocks::Registry::ResultInterface
downcast
downcast
,
result
result
Constructor Detail
def self.
new
(result : T)
#
[
View source
]
Instance Method Detail
def
downcast
#
[
View source
]
def
result
#
[
View source
]