Method: Runbook::Generators::Generator#create_templates_directory

Defined in:
lib/runbook/generators/generator/generator.rb

#create_templates_directoryObject



25
26
27
28
29
30
31
32
# File 'lib/runbook/generators/generator/generator.rb', line 25

def create_templates_directory
  target = File.join(
    parent_options[:root],
    name.underscore,
    "templates",
  )
  empty_directory(target)
end