$62 GRAYBYTE WORDPRESS FILE MANAGER $15

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/Dir/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/Dir//mktmpdir-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: path
comment: 
- !ruby/struct:SM::Flow::P 
  body: Dir.mktmpdir creates a temporary directory.
- !ruby/struct:SM::Flow::P 
  body: The directory is created with 0700 permission.
- !ruby/struct:SM::Flow::P 
  body: The prefix and suffix of the name of the directory is specified by the optional first argument, <em>prefix_suffix</em>.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: If it is not specified or nil, &quot;d&quot; is used as the prefix and no suffix is used.
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: If it is a string, it is used as the prefix and no suffix is used.
  - !ruby/struct:SM::Flow::LI 
    label: "-"
    body: If it is an array, first element is used as the prefix and second element is used as a suffix.
  type: :BULLET
- !ruby/struct:SM::Flow::VERB 
  body: " Dir.mktmpdir {|dir| dir is &quot;.../d...&quot; }\n Dir.mktmpdir(&quot;foo&quot;) {|dir| dir is &quot;.../foo...&quot; }\n Dir.mktmpdir([&quot;foo&quot;, &quot;bar&quot;]) {|dir| dir is &quot;.../foo...bar&quot; }\n"
- !ruby/struct:SM::Flow::P 
  body: The directory is created under Dir.tmpdir or the optional second argument <em>tmpdir</em> if non-nil value is given.
- !ruby/struct:SM::Flow::VERB 
  body: " Dir.mktmpdir {|dir| dir is &quot;#{Dir.tmpdir}/d...&quot; }\n Dir.mktmpdir(nil, &quot;/var/tmp&quot;) {|dir| dir is &quot;/var/tmp/d...&quot; }\n"
- !ruby/struct:SM::Flow::P 
  body: If a block is given, it is yielded with the path of the directory. The directory and its contents are removed using FileUtils.remove_entry_secure before Dir.mktmpdir returns. The value of the block is returned.
- !ruby/struct:SM::Flow::VERB 
  body: " Dir.mktmpdir {|dir|\n   # use the directory...\n   open(&quot;#{dir}/foo&quot;, &quot;w&quot;) { ... }\n }\n"
- !ruby/struct:SM::Flow::P 
  body: If a block is not given, The path of the directory is returned. In this case, Dir.mktmpdir doesn't remove the directory.
- !ruby/struct:SM::Flow::VERB 
  body: " dir = Dir.mktmpdir\n begin\n   # use the directory...\n   open(&quot;#{dir}/foo&quot;, &quot;w&quot;) { ... }\n ensure\n   # remove the directory.\n   FileUtils.remove_entry_secure dir\n end\n"
full_name: Dir::mktmpdir
is_singleton: true
name: mktmpdir
params: (prefix_suffix=nil, tmpdir=nil) {|path| ...}
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%5b%5d-c.yaml
0.388 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Dir.yaml
1.968 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chdir-c.yaml
1.462 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chroot-c.yaml
0.41 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
close-i.yaml
0.415 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete-c.yaml
0.378 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
each-i.yaml
0.614 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
entries-c.yaml
0.534 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
foreach-c.yaml
0.628 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getwd-c.yaml
0.44 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
glob-c.yaml
3.461 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.263 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mkdir-c.yaml
0.591 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mktmpdir-c.yaml
2.345 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.271 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
open-c.yaml
0.498 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
path-i.yaml
0.388 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pos%3d-i.yaml
0.621 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pos-i.yaml
0.457 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pwd-c.yaml
0.437 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
read-i.yaml
0.514 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rewind-i.yaml
0.45 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rmdir-c.yaml
0.376 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
seek-i.yaml
0.683 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tell-i.yaml
0.459 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
tmpdir-c.yaml
0.245 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
unlink-c.yaml
0.378 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF