class: CharacterArray
authorClaus Gittinger <cg@exept.de>
Sat, 12 May 2018 14:24:33 +0200
changeset 4089a64828e69680
parent 4088 bbf9b58f99c8
child 4090 8e3704b9d8f7
class: CharacterArray
comment/format in: #asMimeType
extensions.st
     1.1 --- a/extensions.st	Sat May 12 14:23:45 2018 +0200
     1.2 +++ b/extensions.st	Sat May 12 14:24:33 2018 +0200
     1.3 @@ -3,19 +3,22 @@
     1.4  !CharacterArray methodsFor:'converting'!
     1.5  
     1.6  asMimeType
     1.7 +    "return myself as a mimeType instance"
     1.8 +
     1.9      ^ MIMETypes mimeTypeFromString:self string
    1.10  
    1.11      "
    1.12       'text/html' asMimeType isTextType
    1.13       'text/html' asMimeType isImage
    1.14       'image/gif' asMimeType isImage
    1.15 +     'image/gif' asMimeType asMimeType
    1.16      "
    1.17  ! !
    1.18  
    1.19  !stx_libview2 class methodsFor:'documentation'!
    1.20  
    1.21  extensionsVersion_CVS
    1.22 -    ^ '$Header: /cvs/stx/stx/libview2/extensions.st,v 1.5 2013-05-07 12:17:03 cg Exp $'
    1.23 +    ^ '$Header$'
    1.24  ! !
    1.25  
    1.26  !stx_libview2 class methodsFor:'documentation'!