#DOCUMENTATION by mawalch
class: InlineObject class
comment/format in:
#copyright
#documentation
--- a/InlineObject.st Mon Jul 03 10:19:53 2017 +0200
+++ b/InlineObject.st Mon Jul 03 10:37:59 2017 +0200
@@ -1,12 +1,10 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 2009 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
- inclusion of the above copyright notice. This software may not
+ inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
@@ -31,7 +29,7 @@
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
- inclusion of the above copyright notice. This software may not
+ inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
@@ -44,23 +42,23 @@
InlineObjects are written as literals of the form:
- #{
- filedName1: value1.
- filedName2: value2.
+ #{
+ fieldName1: value1.
+ fieldName2: value2.
...
- filedNameN: valueN.
+ fieldNameN: valueN.
}
For example:
- #{
+ #{
firstName: 'Peter'.
lastName: 'Miller'.
age: 25.
}
-
+
All inlineObjects will be instances of an anonymous subclass of me,
- and provide getter protocol for their fields (eg. firstName, lastName and age in the above example.
+ and provide getter protocol for their fields (e.g. firstName, lastName and age in the above example.
InlineObjects are immutable (no setters).
"
! !
@@ -80,6 +78,6 @@
!InlineObject class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/InlineObject.st,v 1.4 2015-06-08 00:24:48 cg Exp $'
+ ^ '$Header$'
! !