Project

General

Profile

Actions

Feature #2170

closed

Visibility Predicates for Method Objects

Added by runpaint (Run Paint Run Run) over 15 years ago. Updated about 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: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0