Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DieWith method #106

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Add DieWith method #106

merged 1 commit into from
Jul 20, 2023

Conversation

scothis
Copy link
Collaborator

@scothis scothis commented Jul 20, 2023

DieWith passes the current die to a callback function as a mutable die. This is usefull to apply predefined functions that operate on the die while preserving the fluent nature of the api.

DieWith passes the current die to a callback function as a mutable die.
This is usefull to apply predefined functions that operate on the die
while preserving the fluent nature of the api.

Signed-off-by: Scott Andrews <[email protected]>
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #106 (1e08b53) into main (b9d05b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   10.31%   10.31%           
=======================================
  Files          64       64           
  Lines        3152     3152           
=======================================
  Hits          325      325           
  Misses       2824     2824           
  Partials        3        3           

@scothis scothis merged commit 14089ff into main Jul 20, 2023
3 checks passed
@scothis scothis deleted the die-with branch July 20, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant