From: "Eregon (Benoit Daloze) via ruby-core" <ruby-core@...>
Date: 2023-07-14T16:01:46+00:00
Subject: [ruby-core:114190] [Ruby master Feature#19714] Add Refinement#refined_module

Issue #19714 has been updated by Eregon (Benoit Daloze).


Make obsolete = deprecate it, right? (sounds OK)

`Refinement#target` sounds good to me.

----------------------------------------
Feature #19714: Add Refinement#refined_module
https://bugs.ruby-lang.org/issues/19714#change-103877

* 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/
 ______________________________________________
 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/