Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/File/umask-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the current umask value for this process. If the optional argument is given, set the umask to that value and return the previous value. Umask values are <em>subtracted</em> from the default permissions, so a umask of <tt>0222</tt> would make a file read-only for everyone.
- !ruby/struct:SM::Flow::VERB
body: " File.umask(0006) #=> 18\n File.umask #=> 6\n"
full_name: File::umask
is_singleton: true
name: umask
params: |
File.umask() => integer
File.umask(integer) => integer
visibility: public