Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
Tempfile /
Delete
Unzip
Name
Size
Permission
Date
Action
Remover
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
cdesc-Tempfile.ri
3.63
KB
-rw-r--r--
2023-07-26 17:26
close%21-i.ri
282
B
-rw-r--r--
2023-07-26 17:26
close-i.ri
543
B
-rw-r--r--
2023-07-26 17:26
delete-i.ri
148
B
-rw-r--r--
2023-07-26 17:26
length-i.ri
148
B
-rw-r--r--
2023-07-26 17:26
new-c.ri
2.29
KB
-rw-r--r--
2023-07-26 17:26
open-c.ri
974
B
-rw-r--r--
2023-07-26 17:26
open-i.ri
223
B
-rw-r--r--
2023-07-26 17:26
path-i.ri
282
B
-rw-r--r--
2023-07-26 17:26
size-i.ri
326
B
-rw-r--r--
2023-07-26 17:26
unlink-i.ri
1.64
KB
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI"new:EFI"Tempfile::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HCreates a temporary file with permissions 0600 (= only readable and;TI"8writable by the owner) and opens it with mode "w+".;To:RDoc::Markup::BlankLine o; ; [I"BThe +basename+ parameter is used to determine the name of the;TI"Btemporary file. You can either pass a String or an Array with;TI"E2 String elements. In the former form, the temporary file's base;TI"?name will begin with the given string. In the latter form,;TI"Ethe temporary file's base name will begin with the array's first;TI";element, and end with the second element. For example:;T@o:RDoc::Markup::Verbatim; [I""file = Tempfile.new('hello') ;FI"Gfile.path # => something like: "/tmp/hello2843-8392-92849382--0" ;FI" ;FI"C# Use the Array form to enforce an extension in the filename: ;FI",file = Tempfile.new(['hello', '.jpg']) ;FI"Kfile.path # => something like: "/tmp/hello2843-8392-92849382--0.jpg" ;Fo; ; [I"DThe temporary file will be placed in the directory as specified;TI"Aby the +tmpdir+ parameter. By default, this is +Dir.tmpdir+.;TI">When $SAFE > 0 and the given +tmpdir+ is tainted, it uses;TI"C'/tmp' as the temporary directory. Please note that ENV values;TI"Bare tainted by default, and +Dir.tmpdir+'s return value might;TI"=come from environment variables (e.g. <tt>$TMPDIR</tt>).;T@o;; [I"2file = Tempfile.new('hello', '/home/aisaka') ;FI"Ofile.path # => something like: "/home/aisaka/hello2843-8392-92849382--0" ;Fo; ; [ I"HYou can also pass an options hash. Under the hood, Tempfile creates;TI"Jthe temporary file using +File.open+. These options will be passed to;TI"?+File.open+. This is mostly useful for specifying encoding;TI"options, e.g.:;T@o;; [ I"FTempfile.new('hello', '/home/aisaka', :encoding => 'ascii-8bit') ;FI" ;FI"1# You can also omit the 'tmpdir' parameter: ;FI"6Tempfile.new('hello', :encoding => 'ascii-8bit') ;FS:RDoc::Markup::Heading: leveli: textI"Exceptions;T@o; ; [I"CIf Tempfile.new cannot find a unique filename within a limited;TI"6number of tries, then it will raise an exception.;T: @file0I"5new(basename, [tmpdir = Dir.tmpdir], [options]) ;T0[ I"(basename, *rest);TI"lib/tempfile.rb;T