Class: Chef::ChefFS::FileSystem::NonexistentFSObject

Inherits:
BaseFSObject
  • Object
show all
Defined in:
lib/chef/chef_fs/file_system/nonexistent_fs_object.rb

Instance Attribute Summary

Attributes inherited from BaseFSObject

#name, #parent, #path

Instance Method Summary collapse

Methods inherited from BaseFSObject

#can_have_child?, #chef_object, #child, #children, #compare_to, #create_child, #delete, #dir?, #initialize, #path_for_printing, #read, #root, #write

Constructor Details

This class inherits a constructor from Chef::ChefFS::FileSystem::BaseFSObject

Instance Method Details

#exists?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/chef/chef_fs/file_system/nonexistent_fs_object.rb', line 26

def exists?
  false
end