From: "bughit (bug hit) via ruby-core" Date: 2023-05-25T00:33:19+00:00 Subject: [ruby-core:113648] [Ruby master Feature#19682] ability to get a reference to the "default definee" Issue #19682 has been updated by bughit (bug hit). ioquatix (Samuel Williams) wrote in #note-23: > I'll consider opening a new one with a specific proposal around Module#nesting(n). > provide exact details of the interface you are proposing to introduce (e.g. `__module__` or `nesting(0)`) > - If you propose to introduce something which introduces a new interface, it will be more difficult to accept. e.g. `__module__`. > - If you propose a small change to an existing interface, it can be easier to accept. e.g. `nesting(n_or_range)`. I've asked you this already, why are you continuing to talk about Module::nesting in this issue? Do you still not understand that "default definee" is not Module.nesting[0]? ---------------------------------------- Feature #19682: ability to get a reference to the "default definee" https://bugs.ruby-lang.org/issues/19682#change-103291 * Author: bughit (bug hit) * Status: Rejected * Priority: Normal ---------------------------------------- https://blog.yugui.jp/entry/846 "default definee" is a pretty important context so why not make it easy to identify? Could be a Module class method or a global method (Kernel) or a keyword. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/