|Target version:||next minor|
Pathname has an #mkdir method to create a directory at the path, but does not have a #touch method to create an empty file at that path.
There were numerous cases where I had to fallback to using
new_file = Pathname.new('location/for/new/file')
instead of simply being able to use:
I would like to add this method. If you like it, let me know. I will provide a patch then.