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 UnboundMethod#bind_call since 2.7.0 #2286

Merged
merged 2 commits into from
Jun 30, 2020
Merged

Add UnboundMethod#bind_call since 2.7.0 #2286

merged 2 commits into from
Jun 30, 2020

Conversation

znz
Copy link
Member

@znz znz commented Jun 11, 2020

No description provided.

@znz znz added the Ruby2.7.0 label Jun 11, 2020
@pocke pocke linked an issue Jun 11, 2020 that may be closed by this pull request
53 tasks
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
#@end

@see [[m:UnboundMethod#bind]], [[m:Method#call]]
Copy link
Member

Choose a reason for hiding this comment

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

逆方向のsee also linkもあったほうが便利かなと思います。

Copy link
Member Author

Choose a reason for hiding this comment

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

追加しました。
46441ed

@pocke pocke removed a link to an issue Jun 23, 2020
53 tasks
@znz znz merged commit 26f8a95 into rurema:master Jun 30, 2020
@znz znz deleted the bind_call branch June 30, 2020 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants