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

Handle macro returns method name #10

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

aaronjensen
Copy link
Contributor

@aaronjensen aaronjensen commented Oct 29, 2020

def and define_method return the method name, it's useful for this to as well when used in building higher level abstractions.

I wasn't sure about testing this because the test for it hides the usage in a control. I'm up for suggestions on it.

@sbellware sbellware added this to the v2+ milestone Feb 4, 2021
message_registry.register(message_class)

handler_method_name
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test this, call on a class and capture the return value, and then check the method name.

@aaronjensen aaronjensen force-pushed the return-method-name branch from e090309 to 38255e8 Compare May 28, 2022 20:22
@aaronjensen aaronjensen force-pushed the return-method-name branch from 38255e8 to 102f4ef Compare May 28, 2022 20:26
@sbellware sbellware merged commit c7facae into eventide-project:master Jul 12, 2022
@aaronjensen aaronjensen deleted the return-method-name branch July 12, 2022 17:34
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.

2 participants