Method: Chef::ChefFS::FileSystem::BaseFSObject#chef_object

Defined in:
lib/chef/chef_fs/file_system/base_fs_object.rb

#chef_objectObject

Expand this entry into a chef object (Chef::Role, ::Node, etc.)

Raises:



117
118
119
120
121
# File 'lib/chef/chef_fs/file_system/base_fs_object.rb', line 117

def chef_object
  raise NotFoundError.new(self) unless exists?

  nil
end