Wiki

Changes between Initial Version and Version 1 of TypeExtensions

Show
Ignore:
Timestamp:
08/08/09 12:54:28 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TypeExtensions

    v1 v1  
     1== Type Extensions == 
     2 
     3Woops. Not documented yet. Real quick: 
     4{{{ 
     5extend String 
     6 
     7    def doubleLength as int 
     8        return .length * 2 
     9}}} 
     10 
     11See also: StandardLibraryExtensionMethods, LanguageTopics