End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method · added in Ruby 3.2
Refinement#refined_class
refined_class → class
eval.c
View on GitHub ↗
VALUE
rb_refinement_module_get_refined_class(VALUE module)
{
ID id_refined_class;
CONST_ID(id_refined_class, "__refined_class__");
return rb_attr_get(module, id_refined_class);
}
Return the class refined by the receiver.
Ruby version changes
-
3.2
-
Refinement#refined_classhas been added. [Feature #12737]
-