Method: ProcessExecuter::Destinations::FilePathModePerms#close
- Defined in:
- lib/process_executer/destinations/file_path_mode_perms.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
44 45 46 |
# File 'lib/process_executer/destinations/file_path_mode_perms.rb', line 44 def close file.close unless file.closed? end |