Method: Pathname#dirs_r
- Defined in:
- lib/pleasant_path/pathname.rb
#dirs_r ⇒ Array<Pathname>
Returns all (recursive) descendent directories of the directory indicated by the Pathname. Returned Pathnames are prefixed by the original Pathname, and are in depth-first order.
129 130 131 |
# File 'lib/pleasant_path/pathname.rb', line 129 def dirs_r self.find_dirs.to_a end |