Project

General

Profile

Actions

Feature #12697

closed

Why shouldn't Module meta programming methods be public?

Added by bughit (bug hit) over 7 years ago. Updated over 6 years ago.

Status:
Closed
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 2 (0 open2 closed)

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

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0