From: marcandre-ruby-core@... Date: 2020-12-08T04:04:26+00:00 Subject: [ruby-core:101304] [Ruby master Bug#17374] Refined methods aren't visible from a refinement's module Issue #17374 has been updated by marcandre (Marc-Andre Lafortune). shugo (Shugo Maeda) wrote in #note-9: > I don't recommend module inclusion to define refined methods. Indeed! The question remains: if it's a bad idea to `include/prepend` modules inside a `refine` block, could we not make it a good idea? Would it be technically difficult to duplicate the methods in the included module, import them and active them in the refinement? ---------------------------------------- Bug #17374: Refined methods aren't visible from a refinement's module https://bugs.ruby-lang.org/issues/17374#change-88992 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal * Assignee: shugo (Shugo Maeda) * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- -- https://bugs.ruby-lang.org/ Unsubscribe: