Method: Chef::Resource#cookbook_name

Defined in:
lib/chef/resource.rb

#cookbook_nameString

Returns The cookbook this resource was declared in.

Returns:

  • (String)

    The cookbook this resource was declared in.



1246
1247
1248
# File 'lib/chef/resource.rb', line 1246

def cookbook_name
  @cookbook_name
end