Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Pathname/entries-i.ri
Arrière
U:RDoc::AnyMethod[iI"entries:ETI"Pathname#entries;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"OReturn the entries (files and subdirectories) in the directory, each as a ;TI"Pathname object.;To:RDoc::Markup::BlankLine o; ; [I"PThe results contains just the names in the directory, without any trailing ;TI""slashes or recursive look-up.;T@o:RDoc::Markup::Verbatim; [I"+pp Pathname.new('/usr/local').entries ;TI"#=> [#<Pathname:share>, ;TI"# #<Pathname:lib>, ;TI"# #<Pathname:..>, ;TI"# #<Pathname:include>, ;TI"# #<Pathname:etc>, ;TI"# #<Pathname:bin>, ;TI"# #<Pathname:man>, ;TI"# #<Pathname:games>, ;TI"# #<Pathname:.>, ;TI"# #<Pathname:sbin>, ;TI"# #<Pathname:src>] ;T:@format0o; ; [I"QThe result may contain the current directory <code>#<Pathname:.></code> and ;TI"6the parent directory <code>#<Pathname:..></code>.;T@o; ; [I"(If you don't want +.+ and +..+ and ;TI"2want directories, consider Pathname#children.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@*FI" Pathname;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages