Class: Proteus::Generate

Inherits:
Thor
  • Object
show all
Includes:
Proteus::Generators::Context, Proteus::Generators::Environment, Proteus::Generators::Module, Helpers, Thor::Actions
Defined in:
lib/proteus/generate.rb

Constant Summary

Constants included from Helpers

Helpers::DEFAULT, Helpers::ERROR

Class Method Summary collapse

Methods included from Proteus::Generators::Module

included

Methods included from Proteus::Generators::Environment

included

Methods included from Proteus::Generators::Context

included

Methods included from Helpers

#alert, #confirm, #current_user, #limit, #slack_notification, #slack_webhook, #syscall

Methods included from Helpers::PathHelpers

#config_dir, #config_path, #context_path, #context_temp_directory, #contexts_path, #environments_path, #module_config_path, #module_data_path, #module_hooks_path, #module_io_file, #module_path, #module_templates_path, #modules_path, #plan_file, #root_path, #state_file, #var_file

Class Method Details

.source_rootObject



10
11
12
# File 'lib/proteus/generate.rb', line 10

def self.source_root
  File.expand_path(File.join(File.dirname(__FILE__), 'generators', 'templates'))
end