#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Tue, 25 Jun 2019 16:57:34 +0200
changeset 24363 3188fbab129f
parent 24362 be532a9cf6cf
child 24364 3efffac523e4
#FEATURE by cg class: OrderedDictionary added: #asInlineObject
OrderedDictionary.st
--- a/OrderedDictionary.st	Tue Jun 25 16:55:29 2019 +0200
+++ b/OrderedDictionary.st	Tue Jun 25 16:57:34 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT.
  This is a Manchester Goodie protected by copyright.
@@ -608,6 +606,16 @@
     ^ anAssociation
 ! !
 
+!OrderedDictionary methodsFor:'converting'!
+
+asInlineObject
+    "return the receiver as an inline-object (which understands getters and setters for my slots)"
+
+    ^ InlineObject slotNamesAndValuesFromDictionary:self
+
+    "Created: / 25-06-2019 / 16:53:29 / Claus Gittinger"
+! !
+
 !OrderedDictionary methodsFor:'copying'!
 
 copyEmpty