Method: Pathname#make_file
- Defined in:
- lib/pleasant_path/pathname.rb
#make_file ⇒ self
Creates the file indicated by the Pathname, including any necessary parent directories. Returns the Pathname.
335 336 337 338 |
# File 'lib/pleasant_path/pathname.rb', line 335 def make_file self.make_dirname.open("a"){} self end |