From: Ilias Lazaridis Date: 2011-06-05T23:50:26+09:00 Subject: Re: CORE - Specialized Attribute Definition On 4 Ιούν, 16:41, Peter Zotov wrote: >  On Sat, 4 Jun 2011 20:45:30 +0900, Ilias Lazaridis wrote: > > > Can someone please confirm? > > I understand that such a construct could be implemented as a C-level > > extension (without alteration of the main sources). > >  No it couldn't. The feature you want requires altering of the Ruby >  parser >  behavior. No amount of C-level extensions to MRI would help you. I understand. a) The feature requires alteration of the parser b) The parser cannot be altered with a C-level extension Thus: The Specialized Attribute Definition can be achieved only by a source- level modification. . -- http://lazaridis.com