with_sample_defaults
Specify new default values to be used by all subsequent calls to sample within the do/end block. After the do/end block has completed, the previous sampled defaults (if any) are restored. For the contents of the block, will remove and override any previous defaults.
Introduced in v2.5
| # Example 1 | |
|
|
|