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

Allow passing block to match method #54

Merged
merged 1 commit into from
Jul 5, 2023
Merged

Conversation

buty4649
Copy link
Owner

@buty4649 buty4649 commented Jul 5, 2023

組み込みメソッドにブロックを渡せるようにします。
これにより以下のようなことができるようになります。

echo "foo" | rf 'match /foo/ { "bar" }
#=> bar

@buty4649 buty4649 enabled auto-merge July 5, 2023 13:18
@buty4649 buty4649 merged commit 53d03b6 into main Jul 5, 2023
@buty4649 buty4649 deleted the allow-passing-block-to-method branch July 5, 2023 13:29
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