We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Big fan of whirly, use it in almost all my scripts with long-running processes.
I frequently find myself going something like:
def foo Whirly.start result = do_foo Whirly result end
Only because when Whirly.start is called with a block, it returns true.
Whirly.start
true
I think that with a few code changes in whirly.rb#L168, we can make it return the result of the given block, allowing for:
def foo Whirly.start do do_foo end end
I'd be happy to submit a PR if this suggestion is accepted.
The text was updated successfully, but these errors were encountered:
Thanks for the positive feedback!
Good idea, I'd be happy to merge such a PR!
Sorry, something went wrong.
No branches or pull requests
Hi! Big fan of whirly, use it in almost all my scripts with long-running processes.
I frequently find myself going something like:
Only because when
Whirly.start
is called with a block, it returnstrue
.I think that with a few code changes in whirly.rb#L168, we can make it return the result of the given block, allowing for:
I'd be happy to submit a PR if this suggestion is accepted.
The text was updated successfully, but these errors were encountered: