Wiki
Version 1 (modified by Chuck, 8 years ago)

--

Type Extensions

Woops. Not documented yet. Real quick:

extend String

    def doubleLength as int
        return .length * 2

See also: StandardLibraryExtensionMethods, LanguageTopics