method
effect_umask
ruby latest stable - Class:
Shell::CommandProcessor
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
effect_umask()private
private functions
# File lib/shell/command-processor.rb, line 320
def effect_umask
if @shell.umask
Thread.critical = true
save = File.umask
begin
yield
ensure
File.umask save
Thread.critical = false
end
else
yield
end
end Related methods
- Instance methods
- []
- append
- cat
- check_point
- concat
- echo
- expand_path
- find_system_command
- finish_all_jobs
- foreach
- glob
- mkdir
- notify
- open
- out
- rehash
- rmdir
- system
- tee
- test
- transact
- unlink
- Class methods
- add_delegate_command_to_shell
- alias_command
- alias_map
- def_builtin_commands
- def_system_command
- initialize
- install_builtin_commands
- install_system_commands
- method_added
- new
- run_config
- unalias_command
- undef_system_command
- Private methods
-
effect_umask