class File
def cookbook?(path)
-
(Boolean)
-
Parameters:
-
path
(#to_s
) --
def cookbook?(path) File.exist?(File.join(path, "metadata.json")) || File.exist?(File.join(path, "metadata.rb")) end
(Boolean)
-
path
(#to_s
)
--
def cookbook?(path) File.exist?(File.join(path, "metadata.json")) || File.exist?(File.join(path, "metadata.rb")) end