Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crotest
v1.0.3
Crotest
AssertionFailed
Assertions
Context
ContextPlan
DSL
ErroredTest
FailedTest
PassedTest
PendingTest
Test
Built with Crystal 1.9.2
2023-10-08 11:47:28 UTC
struct
Crotest::Context
Crotest::Context
Struct
Value
Object
Defined in:
crotest/context.cr
Constructors
.new
(id : String | Nil, block : Proc(Void))
Instance Method Summary
#block
: Proc(Void)
#block=
(block : Proc(Void))
#id
: String | Nil
#id=
(id : String | Nil)
Constructor Detail
def self.
new
(id : String | Nil, block : Proc(Void))
#
[
View source
]
Instance Method Detail
def
block
: Proc(Void)
#
[
View source
]
def
block=
(block : Proc(Void))
#
[
View source
]
def
id
: String | Nil
#
[
View source
]
def
id=
(id : String | Nil)
#
[
View source
]