AlkantarClanX12

Your IP : 3.144.29.213


Current Path : /opt/alt/ruby18/share/ri/1.8/system/File/
Upload File :
Current File : //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)   #=&gt; 18\n   File.umask         #=&gt; 6\n"
full_name: File::umask
is_singleton: true
name: umask
params: |
  File.umask()          => integer
  File.umask(integer)   => integer

visibility: public