$36 GRAYBYTE WORDPRESS FILE MANAGER $67

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//chdir-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Changes the current working directory of the process to the given string. When called without an argument, changes the directory to the value of the environment variable <tt>HOME</tt>, or <tt>LOGDIR</tt>. <tt>SystemCallError</tt> (probably <tt>Errno::ENOENT</tt>) if the target directory does not exist.
- !ruby/struct:SM::Flow::P 
  body: If a block is given, it is passed the name of the new current directory, and the block is executed with that as the current directory. The original working directory is restored when the block exits. The return value of <tt>chdir</tt> is the value of the block. <tt>chdir</tt> blocks can be nested, but in a multi-threaded program an error will be raised if a thread attempts to open a <tt>chdir</tt> block while another thread has one open.
- !ruby/struct:SM::Flow::VERB 
  body: "   Dir.chdir(&quot;/var/spool/mail&quot;)\n   puts Dir.pwd\n   Dir.chdir(&quot;/tmp&quot;) do\n     puts Dir.pwd\n     Dir.chdir(&quot;/usr&quot;) do\n       puts Dir.pwd\n     end\n     puts Dir.pwd\n   end\n   puts Dir.pwd\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   /var/spool/mail\n   /tmp\n   /usr\n   /tmp\n   /var/spool/mail\n"
full_name: Dir::chdir
is_singleton: true
name: chdir
params: |
  Dir.chdir( [ string] ) => 0
  Dir.chdir( [ string] ) {| path | block }  => anObject

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