Project

General

Profile

Actions

Feature #19714

closed

Add Refinement#refined_module

Added by shugo (Shugo Maeda) 11 months ago. Updated 9 months 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 1 (0 open1 closed)

Related to Ruby master - Feature #12737: Module#defined_refinementsClosedshugo (Shugo Maeda)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0