Project

General

Profile

Actions

Feature #19714

closed

Add Refinement#refined_module

Added by shugo (Shugo Maeda) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Target version:
[ruby-core:113779]

Description

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?


Related issues 3 (0 open3 closed)

Related to Ruby master - Feature #12737: Module#defined_refinementsClosedshugo (Shugo Maeda)Actions
Related to Ruby master - Feature #19366: Rename/alias Refinedment#refined_class => #refined_moduleClosedActions
Related to Ruby master - Feature #20901: What's status of Refinement#refined_class?Closedshugo (Shugo Maeda)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0