Wiki
Show
Ignore:
Timestamp:
04/16/09 22:18:35 (3 years ago)
Author:
Chuck.Esterbrook
Message:

Introduce .typeOf as a cross platform means of getting the type of an object.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Samples/Point.cobra

    r1929 r2019  
    8181 
    8282    def toString as String is override 
    83         return '[.getType.name]([.x], [.y])' 
     83        return '[.typeOf.name]([.x], [.y])' 
    8484 
    8585    def equals(other as Object?) as bool is override