Read Me - Common Public License V1.0 - Copyright Notice(©)

defaultName


>>-defaultName-------------------------------------------------><

Returns a short human-readable string representation of the class. The string returned is of the form

The id class

where [id] is the identifier assigned to the class when it was created.

Class class - defaultName method

say .array~defaultName     /* Displays "The Array class"   */
say .account~defaultName   /* Displays "The ACCOUNT class" */
say .savings~defaultName   /* Displays "The Savings class" */

::class account            /* Name is all upper case       */
::class "Savings"          /* String name is mixed case    */

Read Me - Common Public License V1.0 - Copyright Notice(©)