From: "Eregon (Benoit Daloze)" Date: 2021-10-28T11:22:28+00:00 Subject: [ruby-core:105847] [Ruby master Feature#11689] Add methods allow us to get visibility from Method and UnboundMethod object. Issue #11689 has been updated by Eregon (Benoit Daloze). IMHO it'd be good to rediscuss this at a dev meeting. It seems most people agree that `Method#visibility` would be better and more convenient (also @samuel on the PR). Potential for confusion seems extremely low (to me). ---------------------------------------- Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object. https://bugs.ruby-lang.org/issues/11689#change-94386 * Author: yui-knk (Kaneko Yuichiro) * Status: Open * Priority: Normal ---------------------------------------- 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/ Unsubscribe: