
Issue #19714 has been updated by matz (Yukihiro Matsumoto). I am not 100% satisfied. Probably (unlike `class_eval` and `module_eval` whose class/module distinction is for the receiver), the method returns a class or a module, unrelated to the name. Is there any idea? Matz. ---------------------------------------- Feature #19714: Add Refinement#refined_module https://bugs.ruby-lang.org/issues/19714#change-103558 * Author: shugo (Shugo Maeda) * Status: Assigned * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 3.3 ---------------------------------------- Eregon (Benoit Daloze) wrote in https://bugs.ruby-lang.org/issues/12737#note-15:
`Refinement#refined_class` is a bit strange given it can return a module. How about adding `Refinement#refined_module` as an alias for clarity?
I'm for it. What do you think, Matz? -- https://bugs.ruby-lang.org/