Project

General

Profile

Actions

Feature #8164

open

Public/Private

Added by Anonymous about 11 years ago. Updated over 3 years ago.

Status:
Assigned
Target version:
-
[ruby-core:53727]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0