# File lib/chef/provider/cookbook_file.rb, line 27 def load_current_resource @current_resource = Chef::Resource::CookbookFile.new(@new_resource.name) @new_resource.path.gsub!(/\\/, "/") # for Windows @current_resource.path(@new_resource.path) @current_resource end