[前][次][番号順一覧][スレッド一覧]

ruby-changes:71567

From: Burdette <ko1@a...>
Date: Thu, 31 Mar 2022 04:14:49 +0900 (JST)
Subject: [ruby-changes:71567] 0cb43034b4 (master): Repair format for What's Here in Dir (#5737)

https://git.ruby-lang.org/ruby.git/commit/?id=0cb43034b4

From 0cb43034b416aaf28bf57ee34bc095fdcb659f33 Mon Sep 17 00:00:00 2001
From: Burdette Lamar <BurdetteLamar@Y...>
Date: Wed, 30 Mar 2022 14:14:36 -0500
Subject: Repair format for What's Here in Dir (#5737)

---
 dir.rb | 86 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

diff --git a/dir.rb b/dir.rb
index 243dd837ed..d2ed92c287 100644
--- a/dir.rb
+++ b/dir.rb
@@ -25,61 +25,61 @@ https://github.com/ruby/ruby/blob/trunk/dir.rb#L25
 #
 # === Reading
 #
-# - #close:: Closes the directory stream for +self+.
-# - #pos=:: Sets the position in the directory stream for +self+.
-# - #read:: Reads and returns the next entry in the directory stream for +self+.
-# - #rewind:: Sets the position in the directory stream for +self+ to the first entry.
-# - #seek:: Sets the position in the directory stream for +self+
-#           the entry at the given offset.
+# - #close: Closes the directory stream for +self+.
+# - #pos=: Sets the position in the directory stream for +self+.
+# - #read: Reads and returns the next entry in the directory stream for +self+.
+# - #rewind: Sets the position in the directory stream for +self+ to the first entry.
+# - #seek: Sets the position in the directory stream for +self+
+#   the entry at the given offset.
 #
 # === Setting
 #
-# - ::chdir:: Changes the working directory of the current process
-#             to the given directory.
-# - ::chroot:: Changes the file-system root for the current process
-#              to the given directory.
+# - ::chdir: Changes the working directory of the current process
+#   to the given directory.
+# - ::chroot: Changes the file-system root for the current process
+#   to the given directory.
 #
 # === Querying
 #
-# - ::[]:: Same as ::glob without the ability to pass flags.
-# - ::children:: Returns an array of names of the children
-#                (both files and directories) of the given directory,
-#                but not including <tt>.</tt> or <tt>..</tt>.
-# - ::empty?:: Returns whether the given path is an empty directory.
-# - ::entries:: Returns an array of names of the children
-#               (both files and directories) of the given directory,
-#               including <tt>.</tt> and <tt>..</tt>.
-# - ::exist?:: Returns whether the given path is a directory.
-# - ::getwd (aliased as #pwd):: Returns the path to the current working directory.
-# - ::glob:: Returns an array of file paths matching the given pattern and flags.
-# - ::home:: Returns the home directory path for a given user or the current user.
-# - #children:: Returns an array of names of the children
-#               (both files and directories) of +self+,
-#               but not including <tt>.</tt> or <tt>..</tt>.
-# - #fileno:: Returns the integer file descriptor for +self+.
-# - #path (aliased as #to_path):: Returns the path used to create +self+.
-# - #tell (aliased as #pos):: Returns the integer position
-#                             in the directory stream for +self+.
+# - ::[]: Same as ::glob without the ability to pass flags.
+# - ::children: Returns an array of names of the children
+#   (both files and directories) of the given directory,
+#   but not including <tt>.</tt> or <tt>..</tt>.
+# - ::empty?: Returns whether the given path is an empty directory.
+# - ::entries: Returns an array of names of the children
+#   (both files and directories) of the given directory,
+#   including <tt>.</tt> and <tt>..</tt>.
+# - ::exist?: Returns whether the given path is a directory.
+# - ::getwd (aliased as #pwd): Returns the path to the current working directory.
+# - ::glob: Returns an array of file paths matching the given pattern and flags.
+# - ::home: Returns the home directory path for a given user or the current user.
+# - #children: Returns an array of names of the children
+#   (both files and directories) of +self+,
+#   but not including <tt>.</tt> or <tt>..</tt>.
+# - #fileno: Returns the integer file descriptor for +self+.
+# - #path (aliased as #to_path): Returns the path used to create +self+.
+# - #tell (aliased as #pos): Returns the integer position
+#   in the directory stream for +self+.
 #
 # === Iterating
 #
-# - ::each_child:: Calls the given block with each entry in the given directory,
-#                  but not including <tt>.</tt> or <tt>..</tt>.
-# - ::foreach:: Calls the given block with each entryin the given directory,
-#               including <tt>.</tt> and <tt>..</tt>.
-# - #each:: Calls the given block with each entry in +self+,
-#           including <tt>.</tt> and <tt>..</tt>.
-# - #each_child:: Calls the given block with each entry in +self+,
-#                 but not including <tt>.</tt> or <tt>..</tt>.
+# - ::each_child: Calls the given block with each entry in the given directory,
+#   but not including <tt>.</tt> or <tt>..</tt>.
+# - ::foreach: Calls the given block with each entryin the given directory,
+#   including <tt>.</tt> and <tt>..</tt>.
+# - #each: Calls the given block with each entry in +self+,
+#   including <tt>.</tt> and <tt>..</tt>.
+# - #each_child: Calls the given block with each entry in +self+,
+#   but not including <tt>.</tt> or <tt>..</tt>.
 #
 # === Other
 #
-# - ::mkdir:: Creates a directory at the given path, with optional permissions.
-# - ::new:: Returns a new \Dir for the given path, with optional encoding.
-# - ::open:: Same as ::new, but if a block is given, yields the \Dir to the block,
-#            closing it upon block exit.
-# - ::unlink (aliased as ::delete and ::rmdir):: Removes the given directory.
-# - #inspect:: Returns a string description of +self+.
+# - ::mkdir: Creates a directory at the given path, with optional permissions.
+# - ::new: Returns a new \Dir for the given path, with optional encoding.
+# - ::open: Same as ::new, but if a block is given, yields the \Dir to the block,
+#   closing it upon block exit.
+# - ::unlink (aliased as ::delete and ::rmdir): Removes the given directory.
+# - #inspect: Returns a string description of +self+.
 class Dir
   # call-seq:
   #    Dir.open( string ) -> aDir
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]