Method: Chef::ChefFS::FileSystem.list
- Defined in:
- lib/chef/chef_fs/file_system.rb
.list(root, pattern) ⇒ Object
Returns a list of all things under (and including) this entry that match the given pattern.
Attributes
-
root- Entry to start listing under -
pattern- Chef::ChefFS::FilePattern to match children under
34 35 36 |
# File 'lib/chef/chef_fs/file_system.rb', line 34 def self.list(root, pattern) Lister.new(root, pattern) end |