Class: Outbox::Generators::InstallGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::Base
- Base
- Outbox::Generators::InstallGenerator
show all
- Defined in:
- lib/generators/outbox/install/install_generator.rb
Constant Summary
Helpers::Paas::APP_MANIFEST_PATH
Helpers::Initializer::OUTBOX_INITIALIZER_PATH
Helpers::Config::CONFIG_PATH
Instance Method Summary
collapse
Instance Method Details
#create_config ⇒ Object
26
27
28
29
30
|
# File 'lib/generators/outbox/install/install_generator.rb', line 26
def create_config
return if options[:skip_config]
copy_file "outbox.yml", CONFIG_PATH
end
|
#create_initializer ⇒ Object
20
21
22
23
24
|
# File 'lib/generators/outbox/install/install_generator.rb', line 20
def create_initializer
return if options[:skip_initializer]
copy_file "outbox.rb", OUTBOX_INITIALIZER_PATH
end
|
#create_outboxfile ⇒ Object
14
15
16
17
18
|
# File 'lib/generators/outbox/install/install_generator.rb', line 14
def create_outboxfile
return if options[:skip_outboxfile]
copy_file "Outboxfile", "Outboxfile"
end
|