class Chef::ChefFS::FileSystem::BaseFSDir
Public Class Methods
new(name, parent)
click to toggle source
Calls superclass method
# File lib/chef/chef_fs/file_system/base_fs_dir.rb, line 26 def initialize(name, parent) super end
Public Instance Methods
can_have_child?(name, is_dir)
click to toggle source
# File lib/chef/chef_fs/file_system/base_fs_dir.rb, line 34 def can_have_child?(name, is_dir) true end
dir?()
click to toggle source
# File lib/chef/chef_fs/file_system/base_fs_dir.rb, line 30 def dir? true end
empty?()
click to toggle source
An empty children array is an empty dir
# File lib/chef/chef_fs/file_system/base_fs_dir.rb, line 39 def empty? children.empty? end