From: spiketeika@... Date: 2018-11-04T23:56:51+00:00 Subject: [ruby-core:89708] [Ruby trunk Feature#11689] Add methods allow us to get visibility from Method and UnboundMethod object. Issue #11689 has been updated by yui-knk (Kaneko Yuichiro). Thanks for your comment. Can you show me the use cases where predicate methods are useful? I think these predicate methods can be implemented by using `#visibility` method, so these predicate methods should not be needed as core features. ---------------------------------------- Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object. https://bugs.ruby-lang.org/issues/11689#change-74751 * Author: yui-knk (Kaneko Yuichiro) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- 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: