Skip to content
instance method

Pathname#entries

() -> ::Array[::Pathname]
entries

Return the entries (files and subdirectories) in the directory, each as a Pathname object.

See also #empty? #eql? #each_line #executable? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0