Skip to content

Commit

Permalink
Minor refactorying of writer API
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Jul 25, 2022
1 parent 448e340 commit 2c89014
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion repository/OP-UML-XMI/OPUMLXMIWriter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ Class {

{ #category : #'instance creation' }
OPUMLXMIWriter class >> toString: aModel [
^ OPXMIWriter writeToString: (self new write: aModel)

^ OPXMIWriter toString: (self new write: aModel)
]

{ #category : #'instance creation' }
OPUMLXMIWriter class >> write: aModel toStream: aStream [

OPXMIWriter write: (self new write: aModel) toStream: aStream
]

{ #category : #writing }
Expand Down

0 comments on commit 2c89014

Please sign in to comment.