[ruby-core:96662] [Ruby master Feature#11308] Optional `include_super=true` parameter for `*method_defined?` methods
[email protected] Sat, 04 Jan 2020 18:57:12 +0000 (UTC)
| Newsgroups | gmane.comp.lang.ruby.core |
|---|---|
| Message-ID | <redmine.journal-83632.20200104185712.343b17e73d152d32@ruby-lang.org> |
Issue #11308 has been updated by sawa (Tsuyoshi Sawada). This is another duplicate of #10797. Please close this issue. ---------------------------------------- Feature #11308: Optional `include_super=true` parameter for `*method_defined?` methods https://bugs.ruby-lang.org/issues/11308#change-83632 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- 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/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>