diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-05 09:33:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-05 09:58:46 +0900 |
commit | f3812e6ce61a8a84aee12aec00e879780a8470eb (patch) | |
tree | 2b02969e843e37b8d1fa768d4303c8e67796c147 /dir.rb | |
parent | 53e2bba0dd9b3e86aa5e8d40a62c3b12a16ac6b3 (diff) |
[DOC] Needs `call-seq` directives [ci skip]
Diffstat (limited to 'dir.rb')
-rw-r--r-- | dir.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -81,6 +81,7 @@ # - ::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 # Dir.open( string, encoding: enc ) -> aDir # Dir.open( string ) {| aDir | block } -> anObject @@ -106,6 +107,7 @@ class Dir end end + # call-seq: # Dir.new( string ) -> aDir # Dir.new( string, encoding: enc ) -> aDir # @@ -117,6 +119,7 @@ class Dir Primitive.dir_initialize(name, encoding) end + # call-seq: # Dir[ string [, string ...] [, base: path] [, sort: true] ] -> array # # Equivalent to calling @@ -125,6 +128,7 @@ class Dir Primitive.dir_s_aref(args, base, sort) end + # call-seq: # Dir.glob( pattern, [flags], [base: path] [, sort: true] ) -> array # Dir.glob( pattern, [flags], [base: path] [, sort: true] ) { |filename| block } -> nil # |