Project

General

Profile

Actions

Feature #14397

open

Updated by usa (Usaku NAKAMURA) over 7 years ago

  • Has duplicate : public, protected and private should return their arguments instead of self added

Updated by Eregon (Benoit Daloze) over 7 years ago

  • Related to : Let attr_accessor, _reader & _writer return symbols of the defined methods added

Updated by Eregon (Benoit Daloze) over 7 years ago

Would it be simpler for the semantics to always return an Array of symbols?
Otherwise final (and other potential uses) has to handle both a single Symbol and an Array of Symbol.

One concern is the extra allocations for the common case of a single argument given to private.

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.6)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0