# File lib/chef/resource/cookbook_file.rb, line 46 def cookbook(cookbook_name=nil) set_or_return(:cookbook, cookbook_name, :kind_of => String) end