Method: ProcessExecuter::Destinations::FilePath#close
- Defined in:
- lib/process_executer/destinations/file_path.rb
#close
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Closes the file if it's open
43 44 45 |
# File 'lib/process_executer/destinations/file_path.rb', line 43 def close file.close unless file.closed? end |