[ruby-core:77026] [Ruby trunk Feature#12697] Why shouldn't Module meta programming methods be public?

From: alxtskrnk@...
Date: 2016-08-23 23:08:50 UTC
List: ruby-core #77026
Issue #12697 has been reported by bug hit.

----------------------------------------
Feature #12697: Why shouldn't Module meta programming methods be public?
https://bugs.ruby-lang.org/issues/12697

* Author: bug hit
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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`?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next