# HG changeset patch # User mawalch # Date 1469727869 -7200 # Node ID 2081cd452152c3cb4751b6c64923e1c445d8e369 # Parent b3da2cd21ad5f47b796a8ad698334ab5a361ebb4 #OTHER by mawalch class: UndefinedObject comment/format in: #? shugar -> sugar diff -r b3da2cd21ad5 -r 2081cd452152 UndefinedObject.st --- a/UndefinedObject.st Thu Jul 28 19:36:09 2016 +0200 +++ b/UndefinedObject.st Thu Jul 28 19:44:29 2016 +0200 @@ -110,6 +110,7 @@ "Modified: 3.1.1997 / 15:06:15 / cg" ! ! + !UndefinedObject class methodsFor:'queries'! canBeSubclassed @@ -489,7 +490,7 @@ !UndefinedObject methodsFor:'testing'! ? defaultValue - "a syntactic shugar-piece: + "a syntactic sugar-piece: if the receiver is nil, return the defaultValue; otherwise, return the receiver. This method is redefined from Object; @@ -518,7 +519,7 @@ " 1 ? #default - nil ? #default + nil ? #default " "Created: / 4.11.1996 / 20:37:09 / cg" @@ -729,6 +730,7 @@ ^ aVisitor visitNilWith:aParameter ! ! + !UndefinedObject class methodsFor:'documentation'! version