Method: Repository::FileSystem.directory_contents
- Defined in:
- lib/repository/file_system/base.rb
.directory_contents(rep_path, filter = '*') ⇒ Object
Return the filtered contents of a directory in an array
80 81 82 |
# File 'lib/repository/file_system/base.rb', line 80 def self.directory_contents(rep_path, filter = '*') Dir[self.sys_path(rep_path+[filter])] end |