From: "drbrain (Eric Hodel)" Date: 2013-03-27T02:30:49+09:00 Subject: [ruby-core:53739] [ruby-trunk - Feature #8164][Assigned] Public/Private Issue #8164 has been updated by drbrain (Eric Hodel). Status changed from Open to Assigned Assignee set to matz (Yukihiro Matsumoto) Target version set to Next Major ---------------------------------------- Feature #8164: Public/Private https://bugs.ruby-lang.org/issues/8164#change-37934 Author: Anonymous Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: Next Major - #private - #private_class_method - #public - #public_class_method Would it be a good idea to compress these 4 methods to 2 methods? public - Can set both instance *and* class methods to public by passing them in as symbol private - Can set both instance *and* class methods to private by passing them in as symbol and enable them to be called at top of class? Is this a good idea? It would clean up Module# and encourage use of these two as methods rather than keywords -- http://bugs.ruby-lang.org/