Feature #2170: Visibility Predicates for Method Objects
http://redmine.ruby-lang.org/issues/show/2170

Author: Run Paint Run Run
Status: Open, Priority: Low
Category: core

A Method object doesn't expose the wrapped method's visibility. If you have the method name as a Symbol, however, Module#*_method_defined? can be used. This seems wrong. A naïve patch is attached to add visibility predicates to Method and UnboundMethod.


----------------------------------------
http://redmine.ruby-lang.org