Current Path : /usr/local/share/ri/1.8/system/File/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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