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

Distinguish between the original method and a method missing proc. #954

Merged
merged 1 commit into from May 21, 2015

Conversation

myronmarston
Copy link
Member

Before, we would return a proc that invokes method_missing
from original_method, but it wasn’t a Method object
and couldn’t be bound, leading to NoMethodError in an
edge case.

Fixes #951.

Before, we would return a proc that invokes `method_missing`
from `original_method`, but it wasn’t a `Method` object
and couldn’t be bound, leading to `NoMethodError` in an
edge case.

Fixes #951.
@myronmarston
Copy link
Member Author

Got this green on travis. Anyone want to review it, @rspec/rspec ?

@soulcutter
Copy link
Member

Looks good to me :shipit:

myronmarston added a commit that referenced this pull request May 21, 2015
Distinguish between the original method and a method missing proc.
@myronmarston myronmarston merged commit 2e74741 into master May 21, 2015
@myronmarston myronmarston deleted the fix-951 branch May 21, 2015 19:20
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.

Weird interaction between stubs on super- and subclasses
2 participants