Class: Berkshelf::BaseGenerator

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/berkshelf/base_generator.rb

Direct Known Subclasses

CookbookGenerator, InitGenerator

Constant Summary collapse

PATTERNS =

A list of cookbook patterns accepted by generators inheriting from this generator.

Returns:

%w{
environment
application
library
wrapper}.freeze

Class Method Summary collapse

Class Method Details

.source_rootObject



6
7
8
# File 'lib/berkshelf/base_generator.rb', line 6

def source_root
  Berkshelf.root.join("generator_files")
end