Wiki

Changes between Initial Version and Version 1 of MemberModifier

Show
Ignore:
Timestamp:
12/07/08 19:56:36 (16 years ago)
Author:
gauthier
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MemberModifier

    v1 v1  
     1How do I set modifier on a member? 
     2 
     3you suffix member declaration with 'is' and the modifier 
     4 
     5{{{ 
     6class HasAMember 
     7  def doSomething is protected 
     8    pass 
     9}}} 
     10 
     11How do I set multiple modifier on a member? 
     12 
     13you suffix member declaration with 'is' and a comma delimited list of modifier 
     14 
     15{{{ 
     16class OverridesAMember 
     17  def doSomething is protected, override 
     18    pass 
     19}}}