Module: ChefDK::Command::GeneratorCommands

Defined in:
lib/chef-dk/command/generator_commands.rb

Overview

## GeneratorCommands

This module is the namespace for all subcommands of ‘chef generate`

Defined Under Namespace

Classes: App, Attribute, Base, Cookbook, CookbookCodeFile, CookbookFile, LWRP, Recipe, Template

Class Method Summary collapse

Class Method Details

.build(class_name, params) ⇒ Object



48
49
50
# File 'lib/chef-dk/command/generator_commands.rb', line 48

def self.build(class_name, params)
  const_get(class_name).new(params)
end