Sha256: 13404a6c75304df81e55f4ca95cb64cb40b573e994f3fafaa12df2e0835b5187
Contents?: true
Size: 383 Bytes
Versions: 53
Compression:
Stored size: 383 Bytes
Contents
context = ChefCLI::Generator.context cookbook_dir = File.join(context.cookbook_root, context.cookbook_name) attribute_dir = File.join(cookbook_dir, 'attributes') attribute_path = File.join(cookbook_dir, 'attributes', "#{context.new_file_basename}.rb") directory attribute_dir template attribute_path do source 'attribute.rb.erb' helpers(ChefCLI::Generator::TemplateHelper) end
Version data entries
53 entries across 53 versions & 1 rubygems