Project

General

Profile

Actions

Feature #2170

closed

Visibility Predicates for Method Objects

Feature #2170: Visibility Predicates for Method Objects

Added by runpaint (Run Paint Run Run) about 16 years ago. Updated over 14 years ago.

Status:
Rejected
Target version:
-
[ruby-core:25908]

Description

=begin
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.
=end


Files

Actions

Also available in: PDF Atom