Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/File/chmod-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Changes permission bits on the named file(s) to the bit pattern represented by <em>mode_int</em>. Actual effects are operating system dependent (see the beginning of this section). On Unix systems, see <tt>chmod(2)</tt> for details. Returns the number of files processed.
- !ruby/struct:SM::Flow::VERB
body: " File.chmod(0644, "testfile", "out") #=> 2\n"
full_name: File::chmod
is_singleton: true
name: chmod
params: |
File.chmod(mode_int, file_name, ... ) -> integer
visibility: public