File is very basic; just treats them as string w the file separator (yet
discards separator if you prepend one : ) Since file returns string
chaining fails thereafter,
File.join("bar","foo").join("ruby")
NoMethodError: undefined method `join' for "bar/foo":String
Is there a reasonable explanation that I can’t think of for this behavior?
i think ruby doc is not so clear on this behaviour (havent check current
yet), but
this is common in other languages (eg python) or on other platforms
···
On Fri, Jul 20, 2018 at 2:50 AM, Walter Lee Davis <waltd@wdstudio.com> wrote: