[ruby-core:69741] [Ruby trunk - Feature #11308] [Open] Optional `include_super=true` parameter for `*method_defined?` methods

From: sawadatsuyoshi@...
Date: 2015-06-26 04:47:28 UTC
List: ruby-core #69741
Issue #11308 has been reported by Tsuyoshi Sawada.

----------------------------------------
Feature #11308: Optional `include_super=true` parameter for `*method_defined?` methods
https://bugs.ruby-lang.org/issues/11308

* Author: Tsuyoshi Sawada
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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`



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next