Skip to content

Commit

Permalink
[Enh]: Resource, File Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed Apr 17, 2024
1 parent d85a16a commit 06b3e96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ResourcesLive/RlResource.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ RlResource >> file: anObject [
file := anObject
]

{ #category : #actions }
RlResource >> fileRenameTo: basenameString [

self moveFileTo: self file parent / basenameString
]

{ #category : #convenience }
RlResource >> import [
RlResourceLibrary uniqueInstance import: self
Expand Down

0 comments on commit 06b3e96

Please sign in to comment.