ImmutableArray.st
changeset 20539 02d1cac5db38
parent 20523 76a818c608b3
child 20540 7dc29ce5729d
--- a/ImmutableArray.st	Wed Oct 05 17:53:10 2016 +0200
+++ b/ImmutableArray.st	Wed Oct 05 18:14:05 2016 +0200
@@ -127,6 +127,12 @@
     ^ self copy changeClassTo:Array
 !
 
+asNewArray
+    "return the receiver as an unique new array."
+
+    ^ self copy
+!
+
 beImmutable
     "that's what I am"