Class: Capistrano::Sidekiq::Monit::Generators::TemplateGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/capistrano/sidekiq/monit/template_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templateObject



16
17
18
# File 'lib/generators/capistrano/sidekiq/monit/template_generator.rb', line 16

def copy_template
  copy_file "sidekiq_monit.conf.erb", "#{templates_path}/sidekiq_monit.erb"
end