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.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Tempfile /
Delete
Unzip
Name
Size
Permission
Date
Action
cdesc-Tempfile.ri
4.15
KB
-rw-r--r--
2026-04-07 17:42
close%21-i.ri
368
B
-rw-r--r--
2026-04-07 17:42
close-i.ri
631
B
-rw-r--r--
2026-04-07 17:42
create-c.ri
2.93
KB
-rw-r--r--
2026-04-07 17:42
delete-i.ri
250
B
-rw-r--r--
2026-04-07 17:42
length-i.ri
248
B
-rw-r--r--
2026-04-07 17:42
new-c.ri
2.96
KB
-rw-r--r--
2026-04-07 17:42
open-c.ri
1.93
KB
-rw-r--r--
2026-04-07 17:42
open-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
path-i.ri
368
B
-rw-r--r--
2026-04-07 17:42
size-i.ri
416
B
-rw-r--r--
2026-04-07 17:42
unlink-i.ri
1.75
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI"create:ETI"Tempfile::create;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"3Creates a file in the underlying file system; ;TI"3returns a new \File object based on that file.;To:RDoc::Markup::BlankLine o; ; [I"JWith no block given and no arguments, creates and returns file whose:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"4Class is {File}[rdoc-ref:File] (not \Tempfile).;To;;0; [o; ; [I"DDirectory is the system temporary directory (system-dependent).;To;;0; [o; ; [I"4Generated filename is unique in that directory.;To;;0; [o; ; [I"$Permissions are <tt>0600</tt>; ;TI"<see {File Permissions}[rdoc-ref:File@File+Permissions].;To;;0; [o; ; [I"DMode is <tt>'w+'</tt> (read/write mode, positioned at the end).;T@o; ; [I";With no block, the file is not removed automatically, ;TI")and so should be explicitly removed.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"Ef = Tempfile.create # => #<File:/tmp/20220505-9795-17ky6f6> ;TI"'f.class # => File ;TI"?f.path # => "/tmp/20220505-9795-17ky6f6" ;TI"+f.stat.mode.to_s(8) # => "100600" ;TI"'File.exist?(f.path) # => true ;TI"File.unlink(f.path) ;TI"(File.exist?(f.path) # => false ;T:@format0o; ; [I"2Argument +basename+, if given, may be one of:;T@o;; ;;[o;;0; [o; ; [I"=A string: the generated filename begins with +basename+:;T@o;; [I"GTempfile.create('foo') # => #<File:/tmp/foo20220505-9795-1gok8l9> ;T;0o;;0; [o; ; [I"8An array of two strings <tt>[prefix, suffix]</tt>: ;TI"Hthe generated filename begins with +prefix+ and ends with +suffix+:;T@o;; [I"RTempfile.create(%w/foo .jpg/) # => #<File:/tmp/foo20220505-17839-tnjchh.jpg> ;T;0o; ; [I"WWith arguments +basename+ and +tmpdir+, the file is created in directory +tmpdir+:;T@o;; [I"ITempfile.create('foo', '.') # => #<File:./foo20220505-9795-1emu6g8> ;T;0o; ; [I"JKeyword arguments +mode+ and +options+ are passed directly to method ;TI"%{File.open}[rdoc-ref:File.open]:;T@o;; ;;[o;;0; [o; ; [I"5The value given with +mode+ must be an integer, ;TI"Dand may be expressed as the logical OR of constants defined in ;TI"1{File::Constants}[rdoc-ref:File::Constants].;To;;0; [o; ; [I"AFor +options+, see {Open Options}[rdoc-ref:IO@Open+Options].;T@o; ; [I"LWith a block given, creates the file as above, passes it to the block, ;TI"$and returns the block's value; ;TI"Ubefore the return, the file object is closed and the underlying file is removed:;T@o;; [I"JTempfile.create {|file| file.path } # => "/tmp/20220505-9795-rkists" ;T;0o; ; [I"Related: Tempfile.new.;T: @fileI"lib/tempfile.rb;T:0@omit_headings_from_table_of_contents_below00I"tmpfile;T[ I"2(basename="", tmpdir=nil, mode: 0, **options);T@xFI" Tempfile;TcRDoc::NormalClass00