Wiki
Version 2 (modified by todd.a, 7 years ago)

--

Type Extensions

Woops. Not documented yet. Real quick:

extend String

    def doubleLength as int
        return .length * 2

See also: StandardLibraryExtensionMethods, LanguageTopics