Class: ChefGen::Flavor::PanNew

Inherits:
FlavorBase
  • Object
show all
Includes:
Snippet::StyleRubocop
Defined in:
lib/chef_gen/flavor/new.rb

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.code_generator_path(classfile) ⇒ Object



14
15
16
17
18
# File 'lib/chef_gen/flavor/new.rb', line 14

def code_generator_path(classfile)
  File.expand_path(
    File.join(classfile, '..', '..', '..', '..', 'new', 'code_generator')
  )
end

.descriptionObject



10
11
12
# File 'lib/chef_gen/flavor/new.rb', line 10

def description
  'Generate a new cookbook with good defaults.'
end