#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sat, 29 Oct 2016 14:10:49 +0200
changeset 20695 9d2b822f6162
parent 20694 b3547771ae36
child 20696 2fb95c98ed4a
#FEATURE by cg class: Interval added: #asInterval
Interval.st
--- a/Interval.st	Fri Oct 28 17:37:41 2016 +0200
+++ b/Interval.st	Sat Oct 29 14:10:49 2016 +0200
@@ -220,6 +220,10 @@
 
 !Interval methodsFor:'converting'!
 
+asInterval
+    ^ self.
+!
+
 fromLiteralArrayEncoding:encoding
     "read my values from an encoding.
      The encoding is supposed to be either of the form: