Project

General

Profile

Actions

Feature #11308

closed

Optional `include_super=true` parameter for `*method_defined?` methods

Added by sawa (Tsuyoshi Sawada) almost 9 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:69741]

Description

I request the following methods in the Module class:

  • method_defined?
  • private_method_defined?
  • protected_method_defined?
  • public_method_defined?

to take an optional include_super parameter with the default value true, and work similar to the methods:

  • instance_methods
  • private_instance_methods
  • protected_instance_methods
  • and public_instance_methods
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0