Project

General

Profile

Actions

Feature #11541

closed

Updated by pitr.ch (Petr Chalupa) over 9 years ago

+1, this is also very useful for low level concurrency proposals. It allows to write public attr :status, atomic: true where attr returns array of 4 defined atomic helper methods. The array is accepted by public method which modifies the visibility of the helpers.

Updated by Eregon (Benoit Daloze) over 9 years ago

  • Related to : Better low-level support for writing concurrent libraries added

Updated by Eregon (Benoit Daloze) over 7 years ago

  • Related to : public, protected and private should return their arguments instead of self added

Updated by gfx (Goro FUJI) over 7 years ago

+1

I'm about to issue the same feature request😆

Updated by shevegen (Robert A. Heiler) over 6 years ago

I don't have a big pro or con opinion (am neutral here), but perhaps we could move this
to an upcoming developer meeting anyway?

Updated by Eregon (Benoit Daloze) over 6 years ago

  • Related to : Make attr_accessor return the list of generated method added

Updated by znz (Kazuhiro NISHIYAMA) almost 6 years ago

  • Related to : Return symbols of defined methods for `attr` and friends added

Updated by znz (Kazuhiro NISHIYAMA) almost 6 years ago

  • Related to : Module#attr_ methods return reasonable values added

Updated by marcandre (Marc-Andre Lafortune) about 4 years ago

  • Status changed from Open to Closed

Shipped in Ruby 3.0

Updated by hsbt (Hiroshi SHIBATA) over 3 years ago

  • Project changed from 14 to Ruby
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0