Issue #11689 has been updated by Hiroshi SHIBATA.


What's use-case for these methods?

At least, You should describe use-case with feature request.

----------------------------------------
Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
https://bugs.ruby-lang.org/issues/11689#change-54854

* Author: Kaneko Yuichiro
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Add `Method#visibility` and `UnboundMethod#visibility` for getting visibility from Method and UnboundMethod object.
In GitHub https://github.com/ruby/ruby/pull/1098.

---Files--------------------------------
0001-Add-Method-visibility-and-UnboundMethod-visibility.patch (3.11 KB)


-- 
https://bugs.ruby-lang.org/