/ Published in: SmallTalk
Reading the contents of a whole file as a string.
Expand |
Embed | Plain Text
FileStream readOnlyFileNamed: 'file.txt' do: [:file | file contentsOfEntireFile]
You need to login to post a comment.
Reading the contents of a whole file as a string.
FileStream readOnlyFileNamed: 'file.txt' do: [:file | file contentsOfEntireFile]
You need to login to post a comment.