W3cubDocs

/Crystal

struct Spec::Example::Procsy

Overview

Wraps an Example and a Proc that will eventually execute the example.

Defined in:

spec/example/procsy.cr

Instance Method Summary

  • #example : Example

    The example that will eventually run when calling #run.

  • #run

    Executes the wrapped example, possibly executing other around_each hooks before that.

Instance Method Detail

def example : ExampleSource

The example that will eventually run when calling #run.

def runSource

Executes the wrapped example, possibly executing other around_each hooks before that.

© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Spec/Example/Procsy.html