rfc:nonbreakabletraits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:nonbreakabletraits [2008/03/13 18:45] gronrfc:nonbreakabletraits [2008/03/13 22:09] rquadling
Line 42: Line 42:
 ''as'' ''as''
   Used to //alias// or //merge// a trait into a class.   Used to //alias// or //merge// a trait into a class.
 +
  
 ===== Keeping Methods and Properties Local ===== ===== Keeping Methods and Properties Local =====
Line 51: Line 52:
 included trait, or is overridden in the including class. included trait, or is overridden in the including class.
  
-The problem with including an entire trait locally is there is not way+The problem with including an entire trait locally is that there is no way
 to use the methods or properties. The trait is only useful if you to use the methods or properties. The trait is only useful if you
 include at least one of the methods or properties into the class scope. include at least one of the methods or properties into the class scope.
rfc/nonbreakabletraits.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1