Hi,
In message "[ruby-talk:18351] RCR: String./ to concatenate paths"
on 01/07/24, Michael Witrant <mike / lepton.fr> writes:
|RCR: String./ could concatenate paths, like File.join.
|
|Examples:
|prefix = '/usr'/'local'
| #=> "/usr/local"
|prefix/'bin'
| #=> "/usr/local/bin"
|source_prefix/'linux-'+source_version/'.config'
| #=> "/usr/src/linux-2.2.18/.config"
Although it appears attracrive, I don't think it's a good idea to tie
File path and String too much. Path operation should be tied to File,
not String.
matz.