Skip to content

Commit

Permalink
Move method to extensions package
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhrmanator committed Aug 1, 2024
1 parent eeb4620 commit a8fc76f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Extension { #name : #FamixTWithSourceLanguages }

{ #category : #'*Famix-TypeScript-Generator' }
FamixTWithSourceLanguages >> formattedSourceText [
^ self sourceLanguage
ifNotNil: [ :language | language format: self sourceText from: self ]
ifNil: [ self sourceText ]
]
Extension { #name : #FamixTWithSourceLanguages }

{ #category : #'*Famix-TypeScript-Extensions' }
FamixTWithSourceLanguages >> formattedSourceText [
^ self sourceLanguage
ifNotNil: [ :language | language format: self sourceText from: self ]
ifNil: [ self sourceText ]
]

0 comments on commit a8fc76f

Please sign in to comment.