Project

General

Profile

Actions

Feature #12697

closed

Why shouldn't Module meta programming methods be public?

Added by bughit (bug hit) over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:77026]

Description

Methods like alias_method, attr_accessor, define_method, and similar

I don't think Ruby discourages this kind of meta programming, so why make it less convenient, by necessitating send or module_eval?


Related issues

Related to Ruby master - Feature #8846: Publicize Module#includeClosed08/31/2013Actions
Related to Ruby master - Feature #6539: public and private for core methodsClosednobu (Nobuyoshi Nakada)Actions
Actions

Also available in: Atom PDF