@@ -1403,21 +1403,6 @@ rb_refinement_module_get_refined_class(VALUE module)
14031403 return rb_attr_get (module , id_refined_class );
14041404}
14051405
1406- /*
1407- * call-seq:
1408- * refined_class -> class
1409- *
1410- * Deprecated; prefer #target.
1411- *
1412- * Return the class refined by the receiver.
1413- */
1414- static VALUE
1415- rb_refinement_refined_class (VALUE module )
1416- {
1417- rb_warn_deprecated_to_remove ("3.4" , "Refinement#refined_class" , "Refinement#target" );
1418- return rb_refinement_module_get_refined_class (module );
1419- }
1420-
14211406static void
14221407add_activated_refinement (VALUE activated_refinements ,
14231408 VALUE klass , VALUE refinement )
@@ -2131,7 +2116,6 @@ Init_eval(void)
21312116 rb_undef_method (rb_cClass , "refine" );
21322117 rb_define_private_method (rb_cRefinement , "import_methods" , refinement_import_methods , -1 );
21332118 rb_define_method (rb_cRefinement , "target" , rb_refinement_module_get_refined_class , 0 );
2134- rb_define_method (rb_cRefinement , "refined_class" , rb_refinement_refined_class , 0 );
21352119 rb_undef_method (rb_cRefinement , "append_features" );
21362120 rb_undef_method (rb_cRefinement , "prepend_features" );
21372121 rb_undef_method (rb_cRefinement , "extend_object" );
0 commit comments