Class: Proteus::Init

Inherits:
Thor
  • Object
show all
Includes:
Generators::Init, Helpers, Thor::Actions
Defined in:
lib/proteus/init.rb

Constant Summary

Constants included from Helpers

Helpers::DEFAULT, Helpers::ERROR

Class Method Summary collapse

Methods included from Generators::Init

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



8
9
10
# File 'lib/proteus/init.rb', line 8

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